[Openmp-commits] [PATCH] D131782: [OpenMP][libomptarget] Fix run region async condition

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 15 10:08:59 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG1081bb08cc50: [OpenMP][libomptarget] Fix run region async condition (authored by Kevin Sala Penads <ksalapenades at anl.gov>, committed by tianshilei1992).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131782/new/

https://reviews.llvm.org/D131782

Files:
  openmp/libomptarget/src/device.cpp


Index: openmp/libomptarget/src/device.cpp
===================================================================
--- openmp/libomptarget/src/device.cpp
+++ openmp/libomptarget/src/device.cpp
@@ -580,7 +580,7 @@
 int32_t DeviceTy::runRegion(void *TgtEntryPtr, void **TgtVarsPtr,
                             ptrdiff_t *TgtOffsets, int32_t TgtVarsSize,
                             AsyncInfoTy &AsyncInfo) {
-  if (!RTL->run_region || !RTL->synchronize)
+  if (!RTL->run_region_async || !RTL->synchronize)
     return RTL->run_region(RTLDeviceID, TgtEntryPtr, TgtVarsPtr, TgtOffsets,
                            TgtVarsSize);
   return RTL->run_region_async(RTLDeviceID, TgtEntryPtr, TgtVarsPtr, TgtOffsets,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131782.452726.patch
Type: text/x-patch
Size: 703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220815/8d7daccb/attachment.bin>


More information about the Openmp-commits mailing list