Mojo struct
TMADestination
struct TMADestination[dtype: DType, smem_elems: Int]
Pairs a shared memory TileTensor with a barrier for TMA operations.
The stored TileTensor uses a flat row_major[smem_elems]() layout β
TMA only uses .ptr.
Fieldsβ
- βmbar (
MBarType): - βsmem (
TMADestination[dtype, smem_elems].SmemType):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
SmemTypeβ
comptime SmemType = TileTensor[dtype, Layout[*?, *?], MutAnyOrigin, address_space=AddressSpace.SHARED]
Methodsβ
__init__β
__init__(mbar: UnsafePointer[SharedMemBarrier, MutAnyOrigin, address_space=AddressSpace.SHARED], smem: TileTensor[dtype, Layout[*?, *?], MutAnyOrigin, address_space=AddressSpace.SHARED]) -> Self
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!