[OpenMP][NVPTX] Fix a warning that data argument not used by format string

Reviewed By: jhuber6, grokos

Differential Revision: https://reviews.llvm.org/D110104
This commit is contained in:
Shilei Tian 2021-09-20 17:22:04 -04:00
parent 53720f74e4
commit 49e976c934
1 changed files with 2 additions and 1 deletions

View File

@ -547,7 +547,8 @@ public:
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 =