ssd_scan_fits

Function ssd_scan_fits 

Source
pub fn ssd_scan_fits(state_size: u32) -> bool
Expand description

2026-09-25: Whether the SSD chunked scan fits in shared memory for this state_size.

Callers check this before selecting the SSD path. Over the limit the launch’s cuFuncSetAttribute(MAX_DYNAMIC_SHARED) fails and the launch returns that error; nothing falls back. state_size = 96 needs 91,392 B and fits; state_size = 128 needs 115,968 B and does not.