summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2021-06-07 08:08:29 -0400
committerTom Stellard <tstellar@redhat.com>2021-06-15 02:00:40 -0400
commit0e164144c7081fc0a96a6bc20f1f25b3f9e7f517 (patch)
treed4169684f99887737e71371b6b1251e3e84cddac
parent04a68288ded459c7e76135a9ee4b7e9d4bf4cdc2 (diff)
[OpenMP] Fix typo in libomptarge for the wrong environment variable
Summary: There was a typo in libomptarget that told users to use LIBOMPTARGET_DEBUG instead of LIBOMPTARGET_INFO. (cherry picked from commit 0af4e74aef2eaddc17e1e92eb6d1102cdb5f8ff4)
-rw-r--r--openmp/libomptarget/src/interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libomptarget/src/interface.cpp b/openmp/libomptarget/src/interface.cpp
index b97676a6981b..fba97380a4b2 100644
--- a/openmp/libomptarget/src/interface.cpp
+++ b/openmp/libomptarget/src/interface.cpp
@@ -61,7 +61,7 @@ static void HandleTargetOutcome(bool success, ident_t *loc = nullptr) {
for (auto &Device : PM->Devices)
dumpTargetPointerMappings(loc, Device);
else
- FAILURE_MESSAGE("Run with LIBOMPTARGET_DEBUG=%d to dump host-target "
+ FAILURE_MESSAGE("Run with LIBOMPTARGET_INFO=%d to dump host-target "
"pointer mappings.\n",
OMP_INFOTYPE_DUMP_TABLE);