Skip to main content

Mojo struct

SMemTile

struct SMemTile[dtype: DType, layout: Layout, alignment: Int]

Implemented traits

AnyType, UnknownDestructibility

Aliases

__del__is_trivial

alias __del__is_trivial = True

storage_size

alias storage_size = (layout.size() * size_of[dtype]())

T

alias T = LayoutTensor[dtype, layout, MutableAnyOrigin, address_space=AddressSpace(3), alignment=alignment]

Methods

build

static build(mut smem_mgr: NVIDIASharedMemoryManager[name, alignment, memory_alignment]) -> LayoutTensor[dtype, layout, MutableAnyOrigin, address_space=AddressSpace(3), alignment=alignment]

Returns:

LayoutTensor

Was this page helpful?