Mojo struct
KVCvt2MmaProducer
struct KVCvt2MmaProducer[dtype: DType, config: MLA_SM100_Decode_Config]
Fieldsβ
- βpipe (
KVCvt2MmaProducer[dtype, config].PipeT): - βsmem (
UnsafePointer[Scalar[dtype], MutAnyOrigin, address_space=AddressSpace.SHARED]):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
comptime membersβ
kv_stage_elemsβ
comptime kv_stage_elems = (config * config)
PipeTβ
comptime PipeT = KVPipelineGeneric[config.num_kv_stages, 1, WARPGROUP_SIZE, 2]
Methodsβ
__init__β
__init__(pipe: KVPipelineGeneric[config.num_kv_stages, 1, WARPGROUP_SIZE, 2], smem: UnsafePointer[Scalar[dtype], MutAnyOrigin, address_space=AddressSpace.SHARED]) -> Self
acquireβ
acquire(self)
stage_indexβ
stage_base_ptrβ
stage_base_ptr(self) -> UnsafePointer[Scalar[dtype], MutAnyOrigin, address_space=AddressSpace.SHARED]
Returns:
UnsafePointer[Scalar[dtype], MutAnyOrigin, address_space=AddressSpace.SHARED]
commit_allβ
commit_all(mut self)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!