Repository navigation
validation: CPU tests for CUDA shared contexts and borrowed streams - #16
Draft
cwschroeder wants to merge 1 commit into
Draft
cwschroeder wants to merge 1 commit into
cwschroeder wants to merge 1 commit into
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.
Test-only follow-up for upstream #946 at
ef23b593, based on main46a08c18.Candidate
05486a33adds five permanent CPU callback tests and registers them in the existing CUDA test root. They cover the current primary on device 3, foreign-context refusal with balanced retain/release, no-current fallback to device 0, cleanup after an injected fallback switch error, and null/non-null borrowed stream forwarding. No runtime implementation changes.The focused tests pass in Debug and Fast. Six separate temporary source mutants fail at runtime. Local
test-cuda-hostsucceeds in all 39 steps (the incremental run executes 155/156 tests with one JPEG-related skip; other steps are cached). Whole-tree format, whitespace and lean comparison pass (517/517, zero new). Source review found no issue in the test delta. All six current-head checks pass on05486a33, including the complete No GPU workflow (run38928329054). This evidence is pinned to main46a08c18; upstream ashhart#946 has since rebased tof3f959f1on main6ee828c2, which these runs do not qualify.Callbacks do not open a CUDA library or device. The injected NotReady code tests error unwinding; it is not a claim about a real cuCtxSetCurrent error combination. This supplies no new non-primary/multi-GPU device or performance qualification. This PR is an isolated validation branch, not an upstream integration or deployment.