diff options
author | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2019-06-19 15:48:10 +0000 |
---|---|---|
committer | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2019-06-19 15:48:10 +0000 |
commit | aace6d285d7ce7434e7329a93b31c82ff2aea401 (patch) | |
tree | 209bca6e399171ad43607b623a76f2f05fb113ce /clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp | |
parent | 6828bc561495172c8b26bd56ada6051f2c65bd59 (diff) | |
download | bcm5719-llvm-aace6d285d7ce7434e7329a93b31c82ff2aea401.tar.gz bcm5719-llvm-aace6d285d7ce7434e7329a93b31c82ff2aea401.zip |
[OpenMP][libomptarget] Add support for declare target to clause under unified memory
Summary:
This patch adds support for handling variables under the:
```
#pragma omp declare target to()
```
clause when the
```
#pragma omp requires unified_shared_memory
```
is used.
The address of the host variable is copied into the device pointer just like for the declare target link case.
Reviewers: ABataev, caomhin, grokos, AlexEichenberger
Reviewed By: grokos
Subscribers: jcownie, guansong, jdoerfert, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D63106
llvm-svn: 363825
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp')
0 files changed, 0 insertions, 0 deletions