[CUDA] Add test checking our ability to take a function pointer to a __global__ funct...
authorJustin Lebar <jlebar@google.com>
Wed, 14 Sep 2016 21:50:11 +0000 (21:50 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 14 Sep 2016 21:50:11 +0000 (21:50 +0000)
commit5fd18d17e522f25170aa4280ec14f720818de022
treea4174beead2d98b5f60ad441342a485d83a1ac4b
parent4ad127f5fcb3b3495cc913dee993d447c269daa6
[CUDA] Add test checking our ability to take a function pointer to a __global__ function on the host side.

Summary: This functionality is used by Thrust.

Reviewers: tra

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D24581

llvm-svn: 281543
clang/test/SemaCUDA/reference-to-kernel-fn.cu [new file with mode: 0644]