pub struct __tile1024i {
pub rows: u16,
pub colsb: u16,
/* private fields */
}x86_amx_intrinsics #126622)Expand description
A tile register, used by AMX instructions.
This type is the same as the __tile1024i type defined by Intel, representing a 1024-byte tile register.
Usage of this type typically corresponds to the amx-tile and up target features for x86_64.
This struct contains the tile configuration information as well as the tile itself.
The tile configuration information consists of the row count and the size of each column in bytes,
with row * colsb never exceeding 1024.
The typical usage pattern looks like
let tile = MaybeUninit::uninit();
let tile_ptr = tile.as_mut_ptr();
(*tile_ptr).rows = rows;
(*tile_ptr).colsb = colsb;
__tile_zero(tile_ptr);
let tile = tile.assume_init();Most intrinsics using __tile1024i (except for the store intrinsics) have a destination parameter
of type *mut __tile1024i, and it expects the rows and colsb fields of the destination
to be initialized. After the function call, the whole struct can be assumed to be initialized.
Moreover, for dot-product intrinsics, it is UB if the shape of two operands are not compatible
as a matrix product or if the shape of the destination doesn’t match the expected shape.
Fields§
§rows: u16x86_amx_intrinsics #126622)colsb: u16x86_amx_intrinsics #126622)Trait Implementations§
Source§impl Clone for __tile1024i
impl Clone for __tile1024i
Source§fn clone(&self) -> __tile1024i
fn clone(&self) -> __tile1024i
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)where
Self:,
fn clone_from(&mut self, source: &Self)where
Self:,
source. Read more