Mojo function
tcgen05_st
tcgen05_st[type: DType, width: Int, //, *, datapaths: Int, bits: Int, repeat: Int, pack: Bool](tmem_addr: SIMD[uint32, 1], data: SIMD[type, width])
Stores data from registers into tensor memory.
Parameters:
- type (
DType
): The data type to load. - width (
Int
): The number of elements in the data vector. - datapaths (
Int
): The first dimension of the shape. - bits (
Int
): The second dimension of the shape. - repeat (
Int
): The repeat factor. - pack (
Bool
): Whether to pack two 16-bit chunks of adjacent columns into a single 32-bit register.
Args:
- tmem_addr (
SIMD[uint32, 1]
): The address of the tensor memory to store to. - data (
SIMD[type, width]
): The data to store into the tensor memory.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!