[Openmp-commits] [PATCH] D65001: [OpenMP][libomptarget] Add support for unified memory for regular maps
Gheorghe-Teodor Bercea via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 19 09:15:29 PDT 2019
gtbercea created this revision.
gtbercea added reviewers: ABataev, jdoerfert, Hahnfeld, AlexEichenberger, caomhin.
Herald added subscribers: openmp-commits, guansong.
Herald added a project: OpenMP.
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.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D65001
Files:
libomptarget/include/omptargetplugin.h
libomptarget/plugins/cuda/src/rtl.cpp
libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
libomptarget/src/api.cpp
libomptarget/src/device.cpp
libomptarget/src/device.h
libomptarget/src/omptarget.cpp
libomptarget/src/rtl.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65001.210851.patch
Type: text/x-patch
Size: 19669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190719/3f7c1bda/attachment-0001.bin>
More information about the Openmp-commits
mailing list