Q2_BATCHM_MAX_M

Constant Q2_BATCHM_MAX_M 

Source
pub const Q2_BATCHM_MAX_M: u32 = 8;
Expand description

Shared-memory row cap of q2_0_gemv_vec_batchm (MAX_M in the .cu). The kernel stages exactly M activation rows in s_A[MAX_M * TILE_K]; passing M > MAX_M overflows that tile (OOB smem write) AND drops output rows >= 8 (compute/write loops iterate m < MAX_M). Callers with more rows MUST chunk — done transparently by q2_0_gemv_vec_batchm.