diff options
| author | Michael Halkenhäuser <MichaelGerald.Halkenhauser@amd.com> | 2024-09-23 11:58:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-23 11:58:40 +0200 |
| commit | d36f66b42d7abec73bb5b953612eef26e6c12e0a (patch) | |
| tree | 150fda7131361e55934d69181e5d58292f0836ea /offload/include | |
| parent | bad544461a72cdf0e8301b0e80eef4e6661eee2b (diff) | |
[NFC][offload][OMPT] Cleanup of OMPT internals (#109005)
Removed `OmptCallbacks.cpp` since relevant contents were duplicated.
Because of the static linking there should be no change in
functionality.
Diffstat (limited to 'offload/include')
| -rw-r--r-- | offload/include/OpenMP/OMPT/Callback.h | 6 | ||||
| -rw-r--r-- | offload/include/OpenMP/OMPT/Interface.h | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/offload/include/OpenMP/OMPT/Callback.h b/offload/include/OpenMP/OMPT/Callback.h index 89c5731221e9..68cb43745eb1 100644 --- a/offload/include/OpenMP/OMPT/Callback.h +++ b/offload/include/OpenMP/OMPT/Callback.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef OMPTARGET_OPENMP_OMPT_CALLBACK_H -#define OMPTARGET_OPENMP_OMPT_CALLBACK_H +#ifndef OFFLOAD_INCLUDE_OPENMP_OMPT_CALLBACK_H +#define OFFLOAD_INCLUDE_OPENMP_OMPT_CALLBACK_H #ifdef OMPT_SUPPORT @@ -102,4 +102,4 @@ extern bool Initialized; #define performIfOmptInitialized(stmt) #endif // OMPT_SUPPORT -#endif // OMPTARGET_OPENMP_OMPT_CALLBACK_H +#endif // OFFLOAD_INCLUDE_OPENMP_OMPT_CALLBACK_H diff --git a/offload/include/OpenMP/OMPT/Interface.h b/offload/include/OpenMP/OMPT/Interface.h index 0dc1bad8f7ec..43fb193bc75a 100644 --- a/offload/include/OpenMP/OMPT/Interface.h +++ b/offload/include/OpenMP/OMPT/Interface.h @@ -10,19 +10,19 @@ // //===----------------------------------------------------------------------===// -#ifndef _OMPTARGET_OMPTINTERFACE_H -#define _OMPTARGET_OMPTINTERFACE_H +#ifndef OFFLOAD_INCLUDE_OPENMP_OMPT_INTERFACE_H +#define OFFLOAD_INCLUDE_OPENMP_OMPT_INTERFACE_H // Only provide functionality if target OMPT support is enabled #ifdef OMPT_SUPPORT -#include <functional> -#include <tuple> - #include "Callback.h" #include "omp-tools.h" #include "llvm/Support/ErrorHandling.h" +#include <functional> +#include <tuple> + #define OMPT_IF_BUILT(stmt) stmt /// Callbacks for target regions require task_data representing the @@ -326,4 +326,4 @@ private: #define OMPT_IF_BUILT(stmt) #endif -#endif // _OMPTARGET_OMPTINTERFACE_H +#endif // OFFLOAD_INCLUDE_OPENMP_OMPT_INTERFACE_H |
