[all-commits] [llvm/llvm-project] d82eac: [OpenMP][OMPT] Add 'Initialized' flag

Michael Halkenhäuser via All-commits all-commits at lists.llvm.org
Fri Jul 21 05:22:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d82eace1c9aa1aea9b57d4acec4a6488646ba26d
      https://github.com/llvm/llvm-project/commit/d82eace1c9aa1aea9b57d4acec4a6488646ba26d
  Author: Michael Halkenhaeuser <MichaelGerald.Halkenhauser at amd.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M openmp/libomptarget/include/OmptCallback.h
    M openmp/libomptarget/plugins-nextgen/common/OMPT/OmptCallback.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
    M openmp/libomptarget/src/OmptCallback.cpp

  Log Message:
  -----------
  [OpenMP][OMPT] Add 'Initialized' flag

We observed some overhead and unnecessary debug output.
This can be alleviated by (re-)introduction of a boolean that indicates, if the
OMPT initialization has been performed.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list