Make the scoped owner-panic test independent of claim order #549
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!549
Loading…
Reference in a new issue
No description provided.
Delete branch "holoslicer/Darner:test/deterministic-scoped-panic-schedule"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs #539.
Contributor role (optional)
Fluxer ID
1577921940104949761. Please grant the Contributor role when this merges.What it changes
Section 3b of
nested_wide_each_scoped_handles_overflow_concurrency_and_panicsgives the pool two chunks, then expects the owner to panic inside its callback. Helpers can legally claim both chunks before the owner runs. In that order the workload returns normally and the test reportsowner panic did not unwind.The test parks helpers inside their first callback and submits one more chunk than there are helpers. The owner waits for helper entry, then unwinds with a typed payload. Dropping the channel sender during unwind releases the helpers. The test checks the payload, the helper's observation of the disconnect and the scoped slots after the join. The helper-panic case checks that a helper actually entered before accepting the propagated panic.
How it was tested
c8258f9. Tested revisionaaf411c4. Windows x64. Tests only. The worker implementation and defaults are identical on both revisions.0xC0FFEEand 2–8 helpers.DARNER_WIDE_THREADS=2, then runcargo test --locked -p darner-gpu --lib shadow::wide_tests::nested_wide_each_scoped_handles_overflow_concurrency_and_panics -- --exact --test-threads=1.Checklist
Checked for overlap
shadow.rs.WIP: [pr-tests][memory] Make the scoped owner-panic test independent of claim orderto [pr-tests][memory] Make the scoped owner-panic test independent of claim order[pr-tests][memory] Make the scoped owner-panic test independent of claim orderto Make the scoped owner-panic test independent of claim orderView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.