Skip to content

Commit 53d6e11

Browse files
Artem-Bmemfrob
authored andcommitted
Added constraints on cl-options.cu test
1 parent 9678002 commit 53d6e11

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/test/Driver/cl-options.cu

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// Note: %s must be preceded by --, otherwise it may be interpreted as a
44
// command-line option, e.g. on Mac where %s is commonly under /Users.
55

6+
// REQUIRES: clang-driver
7+
// REQUIRES: x86-registered-target
8+
// REQUIRES: nvptx-registered-target
9+
610
// -stack-protector should not be passed to device-side CUDA compilation
711
// RUN: %clang_cl -### -nocudalib -nocudainc -- %s 2>&1 | FileCheck -check-prefix=GS-default %s
812
// GS-default: "-cc1" "-triple" "nvptx64-nvidia-cuda"

0 commit comments

Comments
 (0)