Skip to main content

Mojo struct

TMADestination

@register_passable(trivial) struct TMADestination[dtype: DType, layout: Layout]

Fields

  • mbar (UnsafePointer[SharedMemBarrier, address_space=AddressSpace(3)]):
  • smem (LayoutTensor[dtype, layout, MutableAnyOrigin, address_space=AddressSpace(3), layout_int_type=DType.int32, linear_idx_type=DType.int32, alignment=128]):

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, Movable, UnknownDestructibility

Aliases

__copyinit__is_trivial

alias __copyinit__is_trivial = True

__del__is_trivial

alias __del__is_trivial = True

__moveinit__is_trivial

alias __moveinit__is_trivial = True

Methods

__init__

__init__(mbar: UnsafePointer[SharedMemBarrier, address_space=AddressSpace(3)], smem: LayoutTensor[dtype, layout, MutableAnyOrigin, address_space=AddressSpace(3), layout_int_type=DType.int32, linear_idx_type=DType.int32, alignment=128]) -> Self

Was this page helpful?