AstrAI/csrc/tests
ViperEkura b5cdea98ad refactor: remove ineffective __launch_bounds__ from prefill kernel
- Remove MIN_BLOCKS template param and __launch_bounds__ attribute
- Profiling shows smem (not registers) is the occupancy bottleneck for D>=64, making the hint a no-op
- D=64 sees 2-4% speedup, D=128 unchanged (smem-capped at 1 block/SM)
- Update comment blocks in kernel header and both dispatch sites
- Verified correctness via standalone CUDA test (max_err ~1e-4)
2026-07-12 15:00:53 +08:00
..
attn_decode_test.cu perf: double-buffer KV pipeline and Q direct-to-register in decode 2026-07-12 14:14:54 +08:00
attn_paged_decode_test.cu perf: double-buffer KV pipeline and Q direct-to-register in decode 2026-07-12 14:14:54 +08:00
attn_prefill_test.cu refactor: remove ineffective __launch_bounds__ from prefill kernel 2026-07-12 15:00:53 +08:00
test_utils.cuh refactor: extract bench_kernel and dispatch_by_head_dim into test_utils 2026-07-12 00:05:04 +08:00