Skip to content

Commit 4b0c285

Browse files
committed
[NFC][OpenMP] Fix compile warnings introduced by D134396
1 parent c9b4dc3 commit 4b0c285

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: openmp/libomptarget/plugins-nextgen/common/PluginInterface/GlobalHandler.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace omp {
2727
namespace target {
2828
namespace plugin {
2929

30-
struct DeviceImageTy;
30+
class DeviceImageTy;
3131
struct GenericDeviceTy;
3232

3333
using namespace llvm::object;

Diff for: openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ Error GenericKernelTy::launch(GenericDeviceTy &GenericDevice, void **ArgPtrs,
6363
getNumBlocks(GenericDevice, NumTeamsClause, LoopTripCount, NumThreads);
6464

6565
INFO(OMP_INFOTYPE_PLUGIN_KERNEL, GenericDevice.getDeviceId(),
66-
"Launching kernel %s with %d blocks and %d threads in %s mode\n",
66+
"Launching kernel %s with %" PRIu64
67+
" blocks and %d threads in %s mode\n",
6768
getName(), NumBlocks, NumThreads, getExecutionModeName());
6869

6970
return launchImpl(GenericDevice, NumThreads, NumBlocks, DynamicMemorySize,

0 commit comments

Comments
 (0)