Files
foxhunt/crates
jgrusewski a334ca288f fix(cuda): fix GPU hotpath guard violations + dynamic shmem in backtest forward kernel
Move // gpu-ok: annotations to same line as violation patterns so the
guard script's grep -v filter actually suppresses them. Fixes 6 false
positives in ensemble adapters (dqn, ppo, liquid, kan, tggn, diffusion).

Replace hardcoded 48KB shmem limit in compile_forward_kernel() with
GPU-aware query (max_shared_memory_kb) — matches gpu_experience_collector
pattern. H100 now gets 128-row tiles (was 64), eliminating tile loops
for ≤128-dim layers in the backtest forward kernel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 23:01:29 +01:00
..