Unify execution scopes and add NVIDIA thread backend - #37
Merged
Conversation
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.
Summary
glass::nvidia::thread::block,warp, orthread) and remove the ambiguous bare NVIDIA re-exportglass::recommend<op, T, dims...>()query returning implementation family, execution scope, and legal launch packingBreaking API changes
glass::nvidia::opbecomesglass::nvidia::{block,warp,thread}::opbackendandsuggested_*becomefamily,scope,execution_plan, andrecommend()op::potrfandop::ldlt_solve(M, N, K)orderThe native bare
glass::opface retains its block-scope calling contract and measured in-kernel body dispatch.Timing methodology
The five-contender main ladder remains the broad throughput sweep. Because its in-place solver operands are restored once per trial, a separate confirmation harness gives every timed launch an independent valid system. That confirmation is a veto only: it can reject a provisional NVIDIA-thread winner but cannot promote one, and it fails closed when the observed three-trial intervals do not resolve the 5% dependency margin.
The raw ladder selects NVIDIA thread in 17/132 RTX 5090 cells and 19/132 Orin cells. The valid-input gate retains 14/132 and 15/132, respectively. Both confirmation captures were taken in quiet windows and are provenance-pinned by SHA-256 in the tuning documentation and paper evidence manifest.
Validation
An isolated post-change quick ladder dry-run completed successfully but showed excessive within-run timing spread (76 rows above the 5% margin), so it was rejected as retuning evidence and made no table changes. The shipped placements use the pinned repeated ladder captures plus the independent-valid-input veto described above.