summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCUDA/builtins.cu
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-03-29 16:24:16 +0000
committerJustin Lebar <jlebar@google.com>2016-03-29 16:24:16 +0000
commit25c4a81e79b08c5781a7d0d551d9a21771b01e7b (patch)
treedbed6713077393b7d142f02bffab9827ec3c5763 /clang/test/SemaCUDA/builtins.cu
parent32de9628e3f51fb77f5943b159cf45008576e83e (diff)
downloadbcm5719-llvm-25c4a81e79b08c5781a7d0d551d9a21771b01e7b.tar.gz
bcm5719-llvm-25c4a81e79b08c5781a7d0d551d9a21771b01e7b.zip
[CUDA] Remove three obsolete CUDA cc1 flags.
Summary: * -fcuda-target-overloads Previously unconditionally set to true by the driver. Necessary for correct functioning of the compiler -- our CUDA headers wrapper won't compile without this. * -fcuda-disable-target-call-checks Previously unconditionally set to true by the driver. Necessary to compile almost any external CUDA code -- almost all libraries assume that host+device code can call host or device functions. * -fcuda-allow-host-calls-from-host-device No effect when target overloading is enabled. Reviewers: tra Subscribers: rsmith, cfe-commits Differential Revision: http://reviews.llvm.org/D18416 llvm-svn: 264739
Diffstat (limited to 'clang/test/SemaCUDA/builtins.cu')
-rw-r--r--clang/test/SemaCUDA/builtins.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCUDA/builtins.cu b/clang/test/SemaCUDA/builtins.cu
index 32b575862cf..7e6d014c3fe 100644
--- a/clang/test/SemaCUDA/builtins.cu
+++ b/clang/test/SemaCUDA/builtins.cu
@@ -7,10 +7,10 @@
// REQUIRES: nvptx-registered-target
// RUN: %clang_cc1 -triple x86_64-unknown-unknown \
// RUN: -aux-triple nvptx64-unknown-cuda \
-// RUN: -fcuda-target-overloads -fsyntax-only -verify %s
+// RUN: -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple nvptx64-unknown-cuda -fcuda-is-device \
// RUN: -aux-triple x86_64-unknown-unknown \
-// RUN: -fcuda-target-overloads -fsyntax-only -verify %s
+// RUN: -fsyntax-only -verify %s
#if !(defined(__amd64__) && defined(__PTX__))
#error "Expected to see preprocessor macros from both sides of compilation."
OpenPOWER on IntegriCloud