Skip to content

Vectorsum - #3

Merged
msaroufim merged 4 commits into
mainfrom
dev-siro
Feb 23, 2025
Merged

msaroufim merged 4 commits into
mainfrom
dev-siro

Conversation

@S1ro1

@S1ro1 S1ro1 commented Feb 22, 2025

Copy link
Copy Markdown
Member

No description provided.

@msaroufim
msaroufim merged commit 9db74b3 into main Feb 23, 2025
vyomakesh0728 referenced this pull request in vyomakesh0728/reference-kernels Nov 12, 2025
Restructure compute loop to process all rows_per_warp rows simultaneously:

Key changes:
- Before: Sequential processing of 8 rows (one at a time)
- After: Parallel processing of 8 rows per thread
- Each thread maintains local_acc[8] for all rows
- K loop now executes 8 FMA operations per iteration (instead of 1)
- All FMA operations are independent → better instruction-level parallelism

Expected improvements:
- FMA utilization: 6.9-14.4% → 30-50%+ target (8x more FMA ops)
- Short Scoreboard stalls: 6.38-6.44 → 2-3 target (more ILP)
- Register reuse: Better data locality within thread
- Geometric mean: 384μs → 250-300μs target (1.3-1.5x speedup)

Addresses NCU bottlenecks:
- Low FMA utilization
- High Short Scoreboard stalls
- Insufficient instruction-level parallelism
zhentaocc pushed a commit to zhentaocc/reference-kernels that referenced this pull request Feb 10, 2026
jordanrubin added a commit to jordanrubin/reference-kernels that referenced this pull request Jun 28, 2026
- submission.py: codex best, geomean 0.00594 (~22x over torch.geqrf=0.131)
- submission_claude_best.py: claude best, 0.006486 (same converged algorithm)
- HANDOFF_TO_3.md: build spec toward the leaderboard top + full lever-map
- SUBMISSIONS.md: index + reality-check (the old sub-2000us records were reward hacks; qr_v2 blocks them)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants