Repository navigation
Improvements on NND kernels: u8 MMA and warp guard - #2751
Merged
Merged
Conversation
Skip warps whose output block is out of range; Remove redundant syncthreads in local_join_kernel_wmma Simplify BBQ staging function
sherylll
force-pushed
the
update-nnd-bbq
branch
from
October 7, 2026 06:37
22c0d30 to
3e6a7bb
Compare
Contributor
|
/ok to test 3a2cf55 |
Contributor
Author
|
/ok to test 28c16b9 |
Contributor
|
/ok to test 28c16b9 |
sherylll
force-pushed
the
update-nnd-bbq
branch
from
October 9, 2026 09:59
28c16b9 to
40f8db3
Compare
sherylll
force-pushed
the
update-nnd-bbq
branch
from
October 9, 2026 10:00
40f8db3 to
2871cbf
Compare
Contributor
Author
|
/ok to test 2871cbf |
This was referenced Oct 11, 2026
Member
|
/merge |
maxwbuckley
added a commit
to maxwbuckley/cuvs
that referenced
this pull request
Oct 13, 2026
NVIDIA#2751 reworked local_join_kernel_wmma (per-k-step barrier moved out of the k loop, per-warp guards). Take main's version of nn_descent.cuh here; the fused join is redone on top of it in the next commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
maxwbuckley
added a commit
to maxwbuckley/cuvs
that referenced
this pull request
Oct 13, 2026
…MA loops Rework of the fused local join after main gained NVIDIA#2751 (per-warp MMA guards, per-k-step barrier already moved out of the k loop), following review: - One pass over the features: each tile step gathers the new rows and the old rows, so phase 2 no longer re-gathers every new-vector tile. - The new x new and new x old products are two MMA loops per tile, each behind its own NVIDIA#2751 warp guard, instead of a per-accumulator branch inside a single loop. The branchy loop compiled to 15 branches and ~2.6x the instructions per k loop, and was slower than main for fp32 input; the split loops are straight-line and reload a_frag instead. - The new/old tiles and the distance block share one shared-memory arena (their lifetimes never overlap), and s_unique_counter gets its own slot, so the extra barrier the aliasing needed is gone. Output is byte-identical to main (kernel harness, 42 cases, 0 mismatched pairs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.