transpose_nvfp4_packed_kton

Function transpose_nvfp4_packed_kton 

Source
pub fn transpose_nvfp4_packed_kton(
    src_packed_t: u64,
    dst_packed: u64,
    n: u32,
    k: u32,
    stream: u64,
) -> Result<()>
Expand description

2026-09-25: Transpose a packed NVFP4 weight from [K/2, N] into the CUTLASS [N, K/2] layout that nvfp4_gemm_bf16_act_weight_t reads. A byte transpose: the two nibbles of each byte stay together. dst_packed must hold N * K/2 bytes.