[Openmp-commits] [openmp] 5dd0c39 - [Libomptarget][NFC} Fix missing newline in error message

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Wed Feb 23 05:10:25 PST 2022


Author: Joseph Huber
Date: 2022-02-23T08:10:16-05:00
New Revision: 5dd0c396384624cdcae646e8cdd254f28e3e478e

URL: https://github.com/llvm/llvm-project/commit/5dd0c396384624cdcae646e8cdd254f28e3e478e
DIFF: https://github.com/llvm/llvm-project/commit/5dd0c396384624cdcae646e8cdd254f28e3e478e.diff

LOG: [Libomptarget][NFC} Fix missing newline in error message

Added: 
    

Modified: 
    openmp/libomptarget/DeviceRTL/src/State.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/DeviceRTL/src/State.cpp b/openmp/libomptarget/DeviceRTL/src/State.cpp
index a530c5e0b2471..81a1bf2c6657a 100644
--- a/openmp/libomptarget/DeviceRTL/src/State.cpp
+++ b/openmp/libomptarget/DeviceRTL/src/State.cpp
@@ -138,7 +138,7 @@ void *SharedMemorySmartStackTy::push(uint64_t Bytes) {
 
   if (config::isDebugMode(config::DebugKind::CommonIssues))
     PRINT("Shared memory stack full, fallback to dynamic allocation of global "
-          "memory will negatively impact performance.");
+          "memory will negatively impact performance.\n");
   void *GlobalMemory = memory::allocGlobal(
       AlignedBytes, "Slow path shared memory allocation, insufficient "
                     "shared memory stack memory!");


        


More information about the Openmp-commits mailing list