Skip to main content

Mojo function

grouped_matmul_block_scaled_mxfp4_kernel

grouped_matmul_block_scaled_mxfp4_kernel[out_dtype: DType](c_ptr: UnsafePointer[Scalar[out_dtype], MutAnyOrigin], a_ptr: UnsafePointer[UInt8, ImmutAnyOrigin], b_ptr: UnsafePointer[UInt8, ImmutAnyOrigin], a_scales_ptr: UnsafePointer[Float8_e8m0fnu, ImmutAnyOrigin], b_scales_ptr: UnsafePointer[Float8_e8m0fnu, ImmutAnyOrigin], row_offsets_ptr: UnsafePointer[UInt32, ImmutAnyOrigin], expert_ids_ptr: UnsafePointer[Int32, ImmutAnyOrigin], num_active_experts: Int, M: Int, N: Int, K: Int)

Was this page helpful?