kept_pools

Function kept_pools 

Source
pub fn kept_pools(valid: &[u8], dims: DsaDims, seq: usize) -> Vec<i32>
Expand description

The original pool ids that survive HF’s keep = pool_valid.any(0) compaction.

Derived from padding and sequence length alone, so a caller can compute it before launching anything — which is why the GPU path computes the full grid and then gathers.