pub struct Flags {Show 18 fields
pub elem_fp4: bool,
pub elem_fp6: bool,
pub elem_fp8: bool,
pub elem_bf16: bool,
pub elem_f16: bool,
pub elem_tf32: bool,
pub indexes: CubeIndexFlags,
pub op_barrier: bool,
pub op_pipeline: bool,
pub inst_fast_math: bool,
pub inst_tma: bool,
pub inst_tma_im2col: bool,
pub inst_wmma: bool,
pub use_grid_constants: bool,
pub static_meta_length: usize,
pub has_dynamic_meta: bool,
pub cube_dim: CubeDim,
pub cluster_dim: Option<CubeDim>,
}Expand description
Flags gathered during Cube IR translation for the kernel compilation.
Fields§
§elem_fp4: bool§elem_fp6: bool§elem_fp8: bool§elem_bf16: bool§elem_f16: bool§elem_tf32: bool§indexes: CubeIndexFlags§op_barrier: bool§op_pipeline: bool§inst_fast_math: bool§inst_tma: bool§inst_tma_im2col: bool§inst_wmma: bool§use_grid_constants: bool§static_meta_length: usize§has_dynamic_meta: bool§cube_dim: CubeDim§cluster_dim: Option<CubeDim>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more