[all-commits] [llvm/llvm-project] 028cf8: [OpenMP] Implement printing TDGs to dot files

Munesanz via All-commits all-commits at lists.llvm.org
Mon Jun 19 06:30:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 028cf8c016b21961bd229f24ddffcad1cb95aa7a
      https://github.com/llvm/llvm-project/commit/028cf8c016b21961bd229f24ddffcad1cb95aa7a
  Author: Adrian Munera <adrian.munera at bsc.es>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_global.cpp
    M openmp/runtime/src/kmp_settings.cpp
    M openmp/runtime/src/kmp_tasking.cpp
    A openmp/runtime/test/tasking/omp_record_replay_print_dot.cpp

  Log Message:
  -----------
  [OpenMP] Implement printing TDGs to dot files

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"

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D150962




More information about the All-commits mailing list