summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-10-12 01:30:08 +0000
committerJustin Lebar <jlebar@google.com>2016-10-12 01:30:08 +0000
commit0254c46300a1b6143955c5070806f4170911bd5a (patch)
tree05324ece206595ab97b283a2f281acf0a59022b0 /llvm/lib/Transforms/Scalar
parentc3dc89e4ab37b93c6934759789f48b062db7f120 (diff)
downloadbcm5719-llvm-0254c46300a1b6143955c5070806f4170911bd5a.tar.gz
bcm5719-llvm-0254c46300a1b6143955c5070806f4170911bd5a.zip
[CUDA] Make touching a kernel from a __host__ __device__ function a deferred error.
Previously, this was an immediate, don't pass go, don't collect $200 error. But this precludes us from writing code like __host__ __device__ void launch_kernel() { kernel<<<...>>>(); } Such code isn't wrong, following our notions of right and wrong in CUDA, unless it's codegen'ed. llvm-svn: 283963
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud