llvm-project/openmp/libomptarget/test/offloading
Gheorghe-Teodor Bercea a1d20506e7 [OpenMP][libomptarget] Add support for unified memory for regular maps
Summary:
This patch adds support for using unified memory in the case of regular maps that happen when a target region is offloaded to the device.

For cases where only a single version of the data is required then the host address can be used. When variables need to be privatized in any way or globalized, then the copy to the device is still required for correctness.

Reviewers: ABataev, jdoerfert, Hahnfeld, AlexEichenberger, caomhin, grokos

Reviewed By: Hahnfeld

Subscribers: mgorny, guansong, openmp-commits

Tags: #openmp

Differential Revision: https://reviews.llvm.org/D65001

llvm-svn: 368192
2019-08-07 17:29:45 +00:00
..
looptripcnt.c [OPENMP] Resolve lost LoopTripCnt for subsequent loops in same thread. 2019-07-17 17:07:52 +00:00
offloading_success.c
offloading_success.cpp
requires.c [OpenMP][libomptarget] Add support for unified memory for regular maps 2019-08-07 17:29:45 +00:00
target_depend_nowait.cpp [OPENMP]Fix threadid in __kmpc_omp_taskwait call for dependent target calls. 2019-07-16 15:51:32 +00:00