nvfp4_mmq_smem

Function nvfp4_mmq_smem 

Source
pub const fn nvfp4_mmq_smem(mmq_x: u32) -> u32
Expand description

2026-09-25: Dynamic shared memory for M tile mmq_x, in bytes: mmq_x ids, a y tile of mmq_x * 36 ints padded to 256 ints, and an x tile of 128 * 76 ints. This is mmq_get_nbytes_shared in q4k_vendor/mmq.cuh with mmq_y = 128, MMQ_MMA_TILE_X_K_FP4 = 76 and 8 warps of 32.