[llvm-branch-commits] [OpenMP] Runtime support for graph_id and graph_reset clauses (for taskgraph) (PR #195074)
Julian Brown via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Apr 30 05:51:35 PDT 2026
https://github.com/jtb20 created https://github.com/llvm/llvm-project/pull/195074
This patch contains runtime support for the graph_id and graph_reset
clauses -- in particular, adding support for freeing recorded taskgraphs
on reset, and initial/planned support for keeping previous recorded
taskgraphs live until their execution count reaches zero, when concurrent
playback is implemented.
A new structure is introduced here, kmp_taskgraph_header_t: this is
now what the per-syntactic taskgraph handle passed in from the user
program points to during recording. These structures are never freed
once allocated.
FD: this patch is mostly handwritten, but AI helped a bit with debugging,
so adding the tag.
Assisted-By: Codex/gpt-5.3
More information about the llvm-branch-commits
mailing list