This patch implements the "__kmp_print_tdg_dot" function, that prints a task dependency graph into a dot file containing the tasks and their dependencies.
It is activated through a new environment variable "KMP_TDG_DOT"
Paths
| Differential D150962
[OpenMP] Implement printing TDGs to dot files ClosedPublic Authored by Munesanz on May 19 2023, 6:39 AM.
Details Summary This patch implements the "__kmp_print_tdg_dot" function, that prints a task dependency graph into a dot file containing the tasks and their dependencies. It is activated through a new environment variable "KMP_TDG_DOT"
Diff Detail
Event TimelineHerald added subscribers: openmp-commits, jplehr, sstefan1. · View Herald TranscriptMay 19 2023, 6:39 AM
Comment Actions I think OMP_ prefix is reserved for environment variables defined by the spec, no? Or is this being added to the spec? Comment Actions
This is a good point. This was introduced in a previous patch. We can consider renaming. What do you think @jdoerfert @tianshilei1992? OMPX_ or LIBOMP_? This revision is now accepted and ready to land.May 25 2023, 7:10 AM
Closed by commit rG028cf8c016b2: [OpenMP] Implement printing TDGs to dot files (authored by Munesanz, committed by Jose M Monsalve Diaz <jmonsalvediaz@anl.gov>). · Explain WhyJun 19 2023, 6:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 526428 openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_global.cpp
openmp/runtime/src/kmp_settings.cpp
openmp/runtime/src/kmp_tasking.cpp
openmp/runtime/test/tasking/omp_record_replay_print_dot.cpp
|
Just a suggestion.