llvm-project/openmp/libomptarget/src
Ye Luo 9323166601 [OpenMP] Add more pass-through functions in DeviceTy
Summary:
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.

Reviewers: tianshilei1992, jdoerfert

Reviewed By: tianshilei1992

Subscribers: yaxunl, guansong, sstefan1, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D84487
2020-07-27 16:08:30 -04:00
..
CMakeLists.txt Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
api.cpp [OpenMP] Add more pass-through functions in DeviceTy 2020-07-27 16:08:30 -04:00
device.cpp [OpenMP] Add more pass-through functions in DeviceTy 2020-07-27 16:08:30 -04:00
device.h [OpenMP] Add more pass-through functions in DeviceTy 2020-07-27 16:08:30 -04:00
exports [OpenMP][Offload] Declare mapper runtime implementation 2020-07-15 18:11:43 -07:00
interface.cpp [OpenMP][Offload] Declare mapper runtime implementation 2020-07-15 18:11:43 -07:00
omptarget.cpp [OpenMP] Add more pass-through functions in DeviceTy 2020-07-27 16:08:30 -04:00
private.h [OpenMP] Use `abort` not `error` for fatal runtime exceptions 2020-07-24 15:15:38 -05:00
rtl.cpp [OpenMP][Offload] Declare mapper runtime implementation 2020-07-15 18:11:43 -07:00
rtl.h [OpenMP] Add more pass-through functions in DeviceTy 2020-07-27 16:08:30 -04:00