pub struct VectorizationHint {
pub op_name: String,
pub dim_name: String,
pub vector_width: VectorWidth,
pub is_reduction: bool,
pub is_contiguous: bool,
}Expand description
A vectorization hint for a specific dimension of an operation.
Fields§
§op_name: StringName of the operation.
dim_name: StringName of the dimension to vectorize.
vector_width: VectorWidthRecommended vector width.
is_reduction: boolWhether this dimension is a reduction (e.g., K in MatMul).
is_contiguous: boolWhether memory access along this dimension is contiguous.
Trait Implementations§
Source§impl Clone for VectorizationHint
impl Clone for VectorizationHint
Source§fn clone(&self) -> VectorizationHint
fn clone(&self) -> VectorizationHint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VectorizationHint
impl Debug for VectorizationHint
Auto Trait Implementations§
impl Freeze for VectorizationHint
impl RefUnwindSafe for VectorizationHint
impl Send for VectorizationHint
impl Sync for VectorizationHint
impl Unpin for VectorizationHint
impl UnsafeUnpin for VectorizationHint
impl UnwindSafe for VectorizationHint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more