File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ using namespace TestUtils;
99
1010static bool HasCudaSDK () {
1111 auto supportsCudaSDK = []() {
12- #if CLANG_VERSION_MAJOR < 16
12+ #ifdef USE_CLING
13+ // FIXME: Enable this for cling.
14+ return false ;
15+ #elif CLANG_VERSION_MAJOR < 16
1316 // FIXME: Enable this for cling.
1417 return false ;
1518#endif // CLANG_VERSION_MAJOR < 16
@@ -23,7 +26,10 @@ static bool HasCudaSDK() {
2326
2427static bool HasCudaRuntime () {
2528 auto supportsCuda = []() {
26- #if CLANG_VERSION_MAJOR < 16
29+ #ifdef USE_CLING
30+ // FIXME: Enable this for cling.
31+ return false ;
32+ #elif CLANG_VERSION_MAJOR < 16
2733 // FIXME: Enable this for cling.
2834 return false ;
2935#endif // CLANG_VERSION_MAJOR < 16
@@ -43,6 +49,8 @@ static bool HasCudaRuntime() {
4349
4450#if CLANG_VERSION_MAJOR < 16
4551TEST (DISABLED_CUDATest, Sanity) {
52+ #elif USE_CLING
53+ TEST (DISABLED_CUDATest, Sanity) {
4654#else
4755TEST (CUDATest, Sanity) {
4856#endif // CLANG_VERSION_MAJOR < 16
You can’t perform that action at this time.
0 commit comments