[OMPT] Fix debug prefix not being defined

Summary:
This header file uses the `DP` prefixes but does not define
`DEBUG_PREFIX`. This patch adds a simple fix, but realistically the `DP`
system isn't ideal. Now that we have access to LLVM libraries and other
utilities we should consider rewriting all of the debugging and error
handling glue.
This commit is contained in:
Joseph Huber 2022-11-16 07:52:14 -06:00
parent 56470b72f1
commit 0e7e426c0c

View File

@ -26,6 +26,8 @@
#include "omp-tools.h"
#include "omptarget.h"
#define DEBUG_PREFIX "OMPT"
#define LIBOMPTARGET_STRINGIFY(s) #s
/// Type for the function to be invoked for connecting two libraries.
@ -99,6 +101,8 @@ private:
std::string LibIdent;
};
#undef DEBUG_PREFIX
#endif // OMPT_SUPPORT
#endif // _OMPT_CONNECTOR_H