Skip to content
Snippets Groups Projects
Commit a77b7595 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

CUDA: the device and host attributes must be inheritable, in order

to deal with NVIDIA's headers.  We'll need to think of another way
to handle multiple host/device definitions within the same TU.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157171 91177308-0d34-0410-b5e6-96231b3b80d8
parent ef0d6d4b
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,7 @@ def CUDAConstant : InheritableAttr {
let Spellings = ["constant"];
}
def CUDADevice : Attr {
def CUDADevice : InheritableAttr {
let Spellings = ["device"];
}
......@@ -275,7 +275,7 @@ def CUDAGlobal : InheritableAttr {
let Spellings = ["global"];
}
def CUDAHost : Attr {
def CUDAHost : InheritableAttr {
let Spellings = ["host"];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment