Skip to main content

Mojo function

naive_grouped_matmul_kernel

naive_grouped_matmul_kernel[c_type: DType, a_type: DType, b_type: DType, CLayout: TensorLayout, ALayout: TensorLayout, BLayout: TensorLayout, AOffsetsLayout: TensorLayout, ExpertIdsLayout: TensorLayout, *, elementwise_lambda_fn: Optional[elementwise_epilogue_type] = None](c: TileTensor[c_type, CLayout, MutAnyOrigin], a: TileTensor[a_type, ALayout, ImmutAnyOrigin], b: TileTensor[b_type, BLayout, ImmutAnyOrigin], a_offsets: TileTensor[DType.uint32, AOffsetsLayout, ImmutAnyOrigin], expert_ids: TileTensor[DType.int32, ExpertIdsLayout, ImmutAnyOrigin])

Was this page helpful?