[Openmp-commits] [PATCH] D84487: [OpenMP] Add more pass-through functions in DeviceTy
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 24 08:36:51 PDT 2020
tianshilei1992 added inline comments.
================
Comment at: openmp/libomptarget/src/device.h:198
+ /// succeeds/fails.
+ void *data_alloc(int64_t Size);
+ /// Deallocates memory which \p TgtPtrBegin points at and returns
----------------
Although `HstPtr` is not used here, it is still part of the plugin interface. In order to be compatible with the plugin interface, I think either `HstPtr` is kept here, or remove the `HstPtr` from the plugin interface.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84487/new/
https://reviews.llvm.org/D84487
More information about the Openmp-commits
mailing list