IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

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, Deinitable, Movable

comptime members

AddrArray

comptime AddrArray = SMemArray[UInt32, Int(1)]

BarrierArray

comptime BarrierArray = SMemArray[SharedMemBarrier, Int(1)]

Methods

barrier

def barrier(ref[AddressSpace._value] self) -> Self.BarrierArray

Returns:

Self.BarrierArray

addr

def addr(ref[AddressSpace._value] self) -> Self.AddrArray

Returns:

Self.AddrArray