Added constraints on cl-options.cu test

This commit is contained in:
Artem Belevich 2020-03-11 16:02:29 -07:00
parent 27dfb2257a
commit 8527c1ed66
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@
// Note: %s must be preceded by --, otherwise it may be interpreted as a
// command-line option, e.g. on Mac where %s is commonly under /Users.
// REQUIRES: clang-driver
// REQUIRES: x86-registered-target
// REQUIRES: nvptx-registered-target
// -stack-protector should not be passed to device-side CUDA compilation
// RUN: %clang_cl -### -nocudalib -nocudainc -- %s 2>&1 | FileCheck -check-prefix=GS-default %s
// GS-default: "-cc1" "-triple" "nvptx64-nvidia-cuda"