mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 15:28:40 +00:00
On Linux the CUDA (and HIP) runtime creates its host-callback thread lazily, at the first cudaLaunchHostFunc, and a new thread inherits the creator's CPU mask. The decoding host pins itself to one CPU (SessionLoopScratch::init), so a thread created after that - which the adaptive overlap's per-layer callbacks did - ran on the host's CPU and fought the host's spin-wait: ~1000 us instead of ~4 us per callback, decode 2-4x slower with STRATA_ADAPT_OVERLAP on (#1964, #1975). oal's warm-up (one no-op callback + sync before ExpertPool) is now unconditional on Linux; the answers, swaps and residency are untouched. Windows CPU Sets are per thread and not inherited, so Windows is unchanged.