transpose_fp8

Function transpose_fp8 

Source
pub fn transpose_fp8(
    gpu: &dyn GpuBackend,
    kernel: KernelHandle,
    src: DevicePtr,
    dst: DevicePtr,
    n: u32,
    k: u32,
    stream: u64,
) -> Result<()>
Expand description

Transpose FP8 weight matrix on GPU: B[N,K]B_t[K,N]. Grid: (ceil(N*K/256), 1, 1) Block: (256, 1, 1)