[Openmp-commits] [PATCH] D84487: [OpenMP] Add more pass-through functions in DeviceTy

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jul 24 15:37:06 PDT 2020


ye-luo marked an inline comment as done.
ye-luo added inline comments.


================
Comment at: openmp/libomptarget/src/omptarget.cpp:848
       // Allocate memory for (first-)private array
-      TgtPtrBegin = Device.RTL->data_alloc(Device.RTLDeviceID,
-          arg_sizes[i], HstPtrBegin);
+      TgtPtrBegin = Device.data_alloc(arg_sizes[i]);
       if (!TgtPtrBegin) {
----------------
tianshilei1992 wrote:
> Please also add `HstPtrBegin` here.
done


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

https://reviews.llvm.org/D84487





More information about the Openmp-commits mailing list