[clang] [llvm] [OpenMP][clang] Register Vtables on device for indirect calls (PR #159856)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 19 15:47:13 PDT 2025
================
@@ -443,7 +444,9 @@ static int loadImagesOntoDevice(DeviceTy &Device) {
// the device to point to the memory on the host.
if ((PM->getRequirements() & OMP_REQ_UNIFIED_SHARED_MEMORY) ||
(PM->getRequirements() & OMPX_REQ_AUTO_ZERO_COPY)) {
- if (Device.RTL->data_submit(DeviceId, DeviceEntry.Address,
+ if (!(OMP_DECLARE_TARGET_INDIRECT_VTABLE |
----------------
jhuber6 wrote:
These are constants, right? Isn't this trivially false?
https://github.com/llvm/llvm-project/pull/159856
More information about the llvm-commits
mailing list