Skip to main content

SCRATCH_ALLOC_CALLS

Static SCRATCH_ALLOC_CALLS 

Source
pub static SCRATCH_ALLOC_CALLS: AtomicU64
Expand description

Device-scratch allocation census (lane/glm5-decode-diet): bumped by every alloc_uninit and zeros call — the class the launch-diet census measured at 2,358 cuMemAllocAsync+Free calls/token. The decode-workspace gate reads deltas per step; the cost axis is the CALL COUNT (the box’s measured ~1.06 us/driver call), which is exactly what this counts. Relaxed atomic: one increment per allocation, noise-level.