Repository navigation
docs: the GPU balance notes describe 3D face + edge balance - #70
Merged
Merged
Conversation
The notes said balance_ref and balance enforce face balance, with 2d face neighbours per leaf; in 3D both enforce face and edge balance (18 directions), as the README's invariant states. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0173Mq5KeHKB8Ye9XBospZ88
nikbott
force-pushed
the
docs/balance-notes
branch
from
October 5, 2026 23:11
791e7fe to
6d30edd
Compare
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.
From the 2026-10-01 adversarial review (finding C6).
docs/design/gpu-balance-notes.mdsaid "Ourbalance_ref/balanceenforce face balance, so N(o) = the 2·d face-neighbours of parent(o)", and repeated it in four places. The code enforces face and edge balance in 3D:cuda/tree.cuhuses 6 face + 12 edge directions, as the README's invariant says.That matters for the preclusion balancer the notes plan. A face-only coarse neighbourhood would not be byte-identical to
balance_refon 3D fixtures. The notes now say 4 directions in 2D, 18 in 3D, and "≤ 4 or 18 outputs/leaf". Docs only.🤖 Generated with Claude Code
https://claude.ai/code/session_0173Mq5KeHKB8Ye9XBospZ88