summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ThreadLocal.cpp
diff options
context:
space:
mode:
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2019-06-20 18:04:47 +0000
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2019-06-20 18:04:47 +0000
commit0034e84aa5420827845c464327646b0ca54b424b (patch)
tree84294f7c35edfee5e88d8ec35b7a5556440d0f05 /llvm/lib/Support/ThreadLocal.cpp
parent04c5bc989a31b81bd7dda1f3e53de2930c8c7ec0 (diff)
downloadbcm5719-llvm-0034e84aa5420827845c464327646b0ca54b424b.tar.gz
bcm5719-llvm-0034e84aa5420827845c464327646b0ca54b424b.zip
[OpenMP] Add support for handling declare target to clause when unified memory is required
Summary: This patch adds support for the handling of the variables under the declare target to clause. The variables in this case are handled like link variables are. A pointer is created on the host and then mapped to the device. The runtime will then copy the address of the host variable in the device pointer. Reviewers: ABataev, AlexEichenberger, caomhin Reviewed By: ABataev Subscribers: guansong, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63108 llvm-svn: 363959
Diffstat (limited to 'llvm/lib/Support/ThreadLocal.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud