[Openmp-commits] [openmp] [OpenMP] Basic BumpAllocator for (AMD)GPUs (PR #69806)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Sat Oct 21 05:46:30 PDT 2023
jhuber6 wrote:
```c++
/home/jhuber/Documents/llvm/llvm-project/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp: In member function ‘uint64_t llvm::omp::target::plugin::GenericKernelTy::getNumBlocks(llvm::omp::target::plugin::GenericDeviceTy&, uint32_t*, uint64_t, uint32_t&, bool) const’:
/home/jhuber/Documents/llvm/llvm-project/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp:453:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
453 | TripCountNumBlocks >= DefaultNumBlocks &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
454 | "Expected sufficient outer parallelism.");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jhuber/Documents/llvm/llvm-project/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp: In member function ‘llvm::Error llvm::omp::target::plugin::GenericDeviceTy::deinit(llvm::omp::target::plugin::GenericPluginTy&)’:
/home/jhuber/Documents/llvm/llvm-project/openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp:593:39: error: ‘DeviceDebugKind’ was not declared in this scope
593 | if (OMPX_DebugKind.get() & uint32_t(DeviceDebugKind::AllocationTracker)) {
|
```
I get the following compile error
https://github.com/llvm/llvm-project/pull/69806
More information about the Openmp-commits
mailing list