hanchenye-llvm-project/clang/test/SemaCUDA
Eli Bendersky 4bdc50eccb Create a frontend flag to disable CUDA cross-target call checks
For CUDA source, Sema checks that the targets of call expressions make sense
(e.g. a host function can't call a device function).

Adding a flag that lets us skip this check. Motivation: for source-to-source
translation tools that have to accept code that's not strictly kosher CUDA but
is still accepted by nvcc. The source-to-source translation tool can then fix
the code and leave calls that are semantically valid for the actual compilation
stage.

Differential Revision: http://reviews.llvm.org/D9036

llvm-svn: 235049
2015-04-15 22:27:06 +00:00
..
Inputs
amdgpu-num-gpr-attr.cu Workaround attribute ordering issue with kernel only attributes 2014-12-05 18:03:58 +00:00
asm-constraints-device.cu Ignore device-side asm constraint errors while compiling CUDA code for host and vice versa. 2015-03-19 18:40:25 +00:00
asm-constraints-mixed.cu Ignore device-side asm constraint errors while compiling CUDA code for host and vice versa. 2015-03-19 18:40:25 +00:00
config-type.cu
function-target-disabled-check.cu Create a frontend flag to disable CUDA cross-target call checks 2015-04-15 22:27:06 +00:00
function-target-hd.cu CUDA: Add option to allow host device functions to call host functions 2015-02-24 21:45:33 +00:00
function-target.cu CUDA: Add option to allow host device functions to call host functions 2015-02-24 21:45:33 +00:00
implicit-copy.cu Consider calls from implict host device functions as valid in SemaCUDA. 2014-12-16 20:12:38 +00:00
implicit-intrinsic.cu CUDA: mark the target of implicit intrinsics properly 2014-09-30 17:38:34 +00:00
implicit-member-target-collision-cxx11.cu CUDA: Fix incorrect target inference for implicit members. 2014-09-29 20:38:29 +00:00
implicit-member-target-collision.cu CUDA: Fix incorrect target inference for implicit members. 2014-09-29 20:38:29 +00:00
implicit-member-target.cu Consider calls from implict host device functions as valid in SemaCUDA. 2014-12-16 20:12:38 +00:00
kernel-call.cu
launch_bounds.cu
lit.local.cfg
method-target.cu Fix PR20886 - enforce CUDA target match in method calls 2014-09-25 23:59:08 +00:00
qualifiers.cu