summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCUDA/hip-pinned-shadow.cu
Commit message (Collapse)AuthorAgeFilesLines
* [HIP] Support attribute hip_pinned_shadowYaxun Liu2019-06-261-0/+25
This patch introduces support of hip_pinned_shadow variable for HIP. A hip_pinned_shadow variable is a global variable with attribute hip_pinned_shadow. It has external linkage on device side and has no initializer. It has internal linkage on host side and has initializer or static constructor. It can be accessed in both device code and host code. This allows HIP runtime to implement support of HIP texture reference. Differential Revision: https://reviews.llvm.org/D62738 llvm-svn: 364381
OpenPOWER on IntegriCloud