Skip to content

Commit

Permalink
[NFC][OpenMP] Fix compile warnings introduced by D134396
Browse files Browse the repository at this point in the history
  • Loading branch information
shiltian committed Oct 28, 2022
1 parent c9b4dc3 commit 4b0c285
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -27,7 +27,7 @@ namespace omp {
namespace target {
namespace plugin {

struct DeviceImageTy;
class DeviceImageTy;
struct GenericDeviceTy;

using namespace llvm::object;
Expand Down
Expand Up @@ -63,7 +63,8 @@ Error GenericKernelTy::launch(GenericDeviceTy &GenericDevice, void **ArgPtrs,
getNumBlocks(GenericDevice, NumTeamsClause, LoopTripCount, NumThreads);

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

return launchImpl(GenericDevice, NumThreads, NumBlocks, DynamicMemorySize,
Expand Down

0 comments on commit 4b0c285

Please sign in to comment.