Repository navigation
Conversation
The smoke script marks builds from modified sources, but the PR checker only checked that marker on the head run. Apply the same check to main before using its frame and memory counts. Assisted-by: OpenAI Codex (GPT-6, exact variant unavailable)
Owner
Author
|
Upstream PR xcl-dev#1056 was closed or merged. |
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.
A smoke block from a modified checkout can currently count as the run on main. That can make the frame and memory comparison use a baseline built from different code. Require an unmodified main checkout for the baseline.
What is in it
scripts/pr_check.pyrejects a main block marked(uncommitted changes).scripts/test_pr_check.pycovers a dirty baseline alone and a valid baseline alongside it.CONTRIBUTING.mdclarifies that both runs need clean checkouts.Tested
python -B -m unittest discover -s scripts -p test_pr_check.pyon Python 3.12.6. The new test failed on main and all 7 passed with the fix.scripts/test.ps1rancargo build --workspaceandcargo test --workspace -- --test-threads=4. Cargo reported 737 passed, 0 failed, 41 ignored. Two of the reported passes emitted GPU skips for no wave64,gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware.Not tested
AI use
Mirror of xcl-dev#1056 (auto-synced, do not edit).