pub struct Flags<D: Dialect> {Show 20 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_tma: bool,
pub inst_tma_im2col: bool,
pub inst_wmma: bool,
pub inst_ptx_wrappers: bool,
pub inst_async_copy: 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>,
pub address_type: Item<D>,
}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_tma: bool§inst_tma_im2col: bool§inst_wmma: bool§inst_ptx_wrappers: bool§inst_async_copy: bool§use_grid_constants: bool§static_meta_length: usize§has_dynamic_meta: bool§cube_dim: CubeDim§cluster_dim: Option<CubeDim>§address_type: Item<D>Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for Flags<D>
impl<D> RefUnwindSafe for Flags<D>where
D: RefUnwindSafe,
impl<D> Send for Flags<D>
impl<D> Sync for Flags<D>
impl<D> Unpin for Flags<D>where
D: Unpin,
impl<D> UnwindSafe for Flags<D>where
D: UnwindSafe,
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