[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
Thu Jul 23 23:02:07 PDT 2020


ye-luo created this revision.
ye-luo added reviewers: tianshilei1992, jdoerfert.
ye-luo added a project: OpenMP.
Herald added subscribers: sstefan1, guansong, yaxunl.

1. Add DeviceTy::data_alloc, DeviceTy::data_delete, DeviceTy::data_alloc, DeviceTy::synchronize pass-through functions. Avoid directly accessing Device.RTL
2. Fix the type of the first argument of synchronize_ty in rth.h, device id is int32_t which is consistent with other functions.


https://reviews.llvm.org/D84487

Files:
  openmp/libomptarget/src/api.cpp
  openmp/libomptarget/src/device.cpp
  openmp/libomptarget/src/device.h
  openmp/libomptarget/src/omptarget.cpp
  openmp/libomptarget/src/rtl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84487.280330.patch
Type: text/x-patch
Size: 5428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200724/c4550672/attachment.bin>


More information about the Openmp-commits mailing list