Skip to main content

Mojo struct

TmemDeallocStorage

struct TmemDeallocStorage

Storage for TMEM deallocation synchronization.

Single barrier + address storage for TMEM lifecycle management.

Fields

  • barrier_storage (TmemDeallocStorage.BarrierArray.Storage):
  • addr_storage (TmemDeallocStorage.AddrArray.Storage):

Implemented traits

AnyType, ImplicitlyDestructible

comptime members

__del__is_trivial

comptime __del__is_trivial = True

AddrArray

comptime AddrArray = SMemArray[UInt32, 1]

BarrierArray

comptime BarrierArray = SMemArray[SharedMemBarrier, 1]

Methods

barrier

barrier(ref[AddressSpace._value._mlir_value] self) -> TmemDeallocStorage.BarrierArray

Returns:

TmemDeallocStorage.BarrierArray

addr

addr(ref[AddressSpace._value._mlir_value] self) -> TmemDeallocStorage.AddrArray

Returns:

TmemDeallocStorage.AddrArray

Was this page helpful?