w8a16_gemm_t

Function w8a16_gemm_t 

Source
pub fn w8a16_gemm_t(
    gpu: &dyn GpuBackend,
    kernel: KernelHandle,
    input: DevicePtr,
    weight_t: DevicePtr,
    block_scale_t: DevicePtr,
    output: DevicePtr,
    m: u32,
    n: u32,
    k: u32,
    stream: u64,
) -> Result<()>
Expand description

2026-09-25: Transposed W8A16 GEMM: C[M,N] = A[M,K] @ dequant(B_t[K,N]), with the transposed FP32 block scale block_scale_t[K/128, N/128], so weight reads are contiguous along N. Each CTA covers 64 rows and 64 columns with 128 threads (kernels/gb10/common/w8a16_gemm_t.cu, kernels/strix-hip/common/w8a16_gemm_t.cu).