For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
NVIDIASharedMemoryBasePtr
struct NVIDIASharedMemoryBasePtr[name: StringSlice[ImmStaticOrigin] = StringSlice("extern_ptr_syml"), memory_alignment: Int = Int(8)]
NVIDIA implementation of SharedMemoryBasePtr using external memory.
Exposes a shared memory base pointer backed by NVIDIA's
external_memory intrinsic, parameterized by a symbolic name and
alignment.
Parametersβ
- βname (
StringSlice[ImmStaticOrigin]): Symbolic name for the external memory allocation. - βmemory_alignment (
Int): Byte alignment of the external memory allocation.
Implemented traitsβ
AnyType,
ImplicitlyDeletable,
SharedMemoryBasePtr
comptime membersβ
alignmentβ
comptime alignment = Int(128)
Methodsβ
ptrβ
static def ptr() -> Pointer[Int8, MutUntrackedOrigin, address_space=AddressSpace.SHARED, _safe=False]
Returns:
Pointer[Int8, MutUntrackedOrigin, address_space=AddressSpace.SHARED, _safe=False]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!