Skip to content

[OpenMP] Add sanity check for concurrent taskgraph reset#195076

Open
jtb20 wants to merge 4 commits into
users/jtb20/spr/main.openmp-add-sanity-check-for-concurrent-taskgraph-resetfrom
users/jtb20/spr/openmp-add-sanity-check-for-concurrent-taskgraph-reset
Open

[OpenMP] Add sanity check for concurrent taskgraph reset#195076
jtb20 wants to merge 4 commits into
users/jtb20/spr/main.openmp-add-sanity-check-for-concurrent-taskgraph-resetfrom
users/jtb20/spr/openmp-add-sanity-check-for-concurrent-taskgraph-reset

Conversation

@jtb20
Copy link
Copy Markdown
Contributor

@jtb20 jtb20 commented Apr 30, 2026

This patch adds a sanity check for concurrent taskgraph re-recording:
the case where two threads might simultaneously hit a taskgraph region
with the same graph_id and a non-zero graph_reset clause.

This will only trigger when debugging/assertions are enabled: it might
be more helpful to do this check unconditionally, but I'm not sure what
sort of error path in libomp should be used in that case.

Created using spr 1.3.5
@llvmorg-github-actions llvmorg-github-actions Bot added the openmp:libomp OpenMP host runtime label Apr 30, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

✅ With the latest revision this PR passed the C/C++ code formatter.

Created using spr 1.3.5
jtb20 added 2 commits May 7, 2026 12:13
Created using spr 1.3.5
Created using spr 1.3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

openmp:libomp OpenMP host runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant