Skip to content

perf: non-saturating i16 adds in CPU kernels, narrow CUDA tail stripe - #11

Merged
jayhesselberth merged 1 commit into
mainfrom
worktree-perf-nonsat-add
Oct 17, 2026
Merged

jayhesselberth merged 1 commit into
mainfrom
worktree-perf-nonsat-add

Conversation

@jayhesselberth

Copy link
Copy Markdown
Member

Non-saturating i16 adds raise avx512 kernel throughput 1.2-1.6x; the CUDA tail stripe is narrowed and the transposed threshold drops to 256 nt. fmt, clippy, 120 tests and gpu_parity pass.

🤖 Generated with Claude Code

Non-saturating adds give 1.2-1.6x avx512 kernel throughput; the
transposed-kernel threshold drops to 256 nt.
@jayhesselberth
jayhesselberth force-pushed the worktree-perf-nonsat-add branch from 2a976cb to 164929e Compare October 17, 2026 13:39
@jayhesselberth
jayhesselberth merged commit f815ee7 into main Oct 17, 2026
5 checks passed
jayhesselberth added a commit that referenced this pull request Oct 17, 2026
The last stripe takes the narrowest of 16, 8 or 4 rows that covers the
read, as the int kernel's has since #11: 1.09x local / 1.11x semi-global
at 130 nt on an A30, still 80 registers. GpuScorer reports local memory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant