diff options
author | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2019-08-07 17:29:45 +0000 |
---|---|---|
committer | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2019-08-07 17:29:45 +0000 |
commit | a1d20506e771a376e293a61e26842a906487d7ef (patch) | |
tree | fe8beb028f7eafb3255520f80620cff775a6c213 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | d8c3c173945e7653b76e0326868464bad2130482 (diff) | |
download | llvm-a1d20506e771a376e293a61e26842a906487d7ef.zip llvm-a1d20506e771a376e293a61e26842a906487d7ef.tar.gz llvm-a1d20506e771a376e293a61e26842a906487d7ef.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions