Skip to content

Commit ddca45f

Browse files
authored
[Clang][SYCL][LIT] Fix lb_sm_90.cpp when nvptx target is not enabled (#14289)
This fails for me constantly in `check-clang` locally because I don't build nvptx. I verified this is UNSUPPORTED when nvptx is not built and runs and passes when it is built. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent b6d5a10 commit ddca45f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/test/SemaSYCL/lb_sm_90.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: nvptx-registered-target
12
// RUN: %clang_cc1 -internal-isystem %S/Inputs %s -triple nvptx64-nvidia-cuda -target-cpu sm_90 -fsycl-is-device -Wno-c++23-extensions -verify -S -o %t
23

34
// Maximum work groups per multi-processor, mapped to maxclusterrank PTX

0 commit comments

Comments
 (0)