[Openmp-commits] [openmp] 0af4e74 - [OpenMP][NFC] Fix typo in libomptarget error message

via Openmp-commits openmp-commits at lists.llvm.org
Thu Apr 1 09:48:41 PDT 2021


Author: Joseph Huber
Date: 2021-04-01T12:45:28-04:00
New Revision: 0af4e74aef2eaddc17e1e92eb6d1102cdb5f8ff4

URL: https://github.com/llvm/llvm-project/commit/0af4e74aef2eaddc17e1e92eb6d1102cdb5f8ff4
DIFF: https://github.com/llvm/llvm-project/commit/0af4e74aef2eaddc17e1e92eb6d1102cdb5f8ff4.diff

LOG: [OpenMP][NFC] Fix typo in libomptarget error message

Summary:
There was a typo suggesting the user to use `LIBOMPTARGET_DEBUG` instead of
`LIBOMPTARGET_INFO`

Added: 
    

Modified: 
    openmp/libomptarget/src/omptarget.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/src/omptarget.cpp b/openmp/libomptarget/src/omptarget.cpp
index 2c6af57efa9f3..34645535a5960 100644
--- a/openmp/libomptarget/src/omptarget.cpp
+++ b/openmp/libomptarget/src/omptarget.cpp
@@ -222,7 +222,7 @@ void handleTargetOutcome(bool Success, ident_t *Loc) {
         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 Openmp-commits mailing list