[Openmp-commits] [PATCH] D110104: [OpenMP][NVPTX] Fix a warning that data argument not used by format string
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Sep 20 14:22:31 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG49e976c93432: [OpenMP][NVPTX] Fix a warning that data argument not used by format string (authored by tianshilei1992).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110104/new/
https://reviews.llvm.org/D110104
Files:
openmp/libomptarget/plugins/cuda/src/rtl.cpp
Index: openmp/libomptarget/plugins/cuda/src/rtl.cpp
===================================================================
--- openmp/libomptarget/plugins/cuda/src/rtl.cpp
+++ openmp/libomptarget/plugins/cuda/src/rtl.cpp
@@ -547,7 +547,8 @@
if (const char *EnvStr = getenv("LIBOMPTARGET_SHARED_MEMORY_SIZE")) {
// LIBOMPTARGET_SHARED_MEMORY_SIZE has been set
DynamicMemorySize = std::stoi(EnvStr);
- DP("Parsed LIBOMPTARGET_SHARED_MEMORY_SIZE", DynamicMemorySize);
+ DP("Parsed LIBOMPTARGET_SHARED_MEMORY_SIZE = %" PRIu64 "\n",
+ DynamicMemorySize);
}
StreamManager =
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110104.373710.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210920/2b78490c/attachment.bin>
More information about the Openmp-commits
mailing list