Skip to content

Commit af63f10

Browse files
committed
[SYCL][CUDA] Fix test fail w/ unknown CUDA versions
Fix LIT test using `-Werror` to fail when the compiler driver warns about an unknown CUDA version as CUDA has otherwise nothing to do with the test. Signed-off-by: Bjoern Knafla <bjoern@codeplay.com>
1 parent e9f7e03 commit af63f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/warnings/warnings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -Wall -Wpessimizing-move -Wunused-variable -Wmismatched-tags -Wunneeded-internal-declaration -Werror -fsycl %s -o %t.out
1+
// RUN: %clangxx -Wall -Wpessimizing-move -Wunused-variable -Wmismatched-tags -Wunneeded-internal-declaration -Werror -Wno-unknown-cuda-version -fsycl %s -o %t.out
22

33
#include <CL/sycl.hpp>
44

0 commit comments

Comments
 (0)