[llvm-branch-commits] [openmp] 0e16414 - [OpenMP] Fix typo in libomptarge for the wrong environment variable
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jun 14 23:01:21 PDT 2021
Author: Joseph Huber
Date: 2021-06-15T02:00:40-04:00
New Revision: 0e164144c7081fc0a96a6bc20f1f25b3f9e7f517
URL: https://github.com/llvm/llvm-project/commit/0e164144c7081fc0a96a6bc20f1f25b3f9e7f517
DIFF: https://github.com/llvm/llvm-project/commit/0e164144c7081fc0a96a6bc20f1f25b3f9e7f517.diff
LOG: [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)
Added:
Modified:
openmp/libomptarget/src/interface.cpp
Removed:
################################################################################
diff --git a/openmp/libomptarget/src/interface.cpp b/openmp/libomptarget/src/interface.cpp
index b97676a6981b5..fba97380a4b2b 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);
More information about the llvm-branch-commits
mailing list