llvm-project
3cca2b4b - [OpenMP] Runtime support for graph_id and graph_reset clauses (for taskgraph)

Commit
40 days ago
[OpenMP] Runtime support for graph_id and graph_reset clauses (for taskgraph) 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 Pull Request: https://github.com/llvm/llvm-project/pull/195074
Author
Committer
Parents
Loading