Files
Vito Gamberini f69754ad63 SYCL: Initial language implementation
Add experimental support for SYCL under an experimental gate. The
IntelLLVM and Adaptivecpp compilers are recognized, as well as upstream
Clang with libsycl support.

Fixes: #27219, #27905
2026-10-07 11:43:31 -04:00

12 lines
417 B
CMake

enable_testing()
function(sycl_add_runtime_test name target)
add_test(NAME "${name}" COMMAND "${target}")
set_tests_properties("${name}" PROPERTIES SKIP_RETURN_CODE 77 TIMEOUT 30)
endfunction()
function(sycl_not_supported reason)
add_test(NAME NotSupported
COMMAND "${CMAKE_COMMAND}" -E echo "SKIP: ${reason}")
set_tests_properties(NotSupported PROPERTIES SKIP_REGULAR_EXPRESSION "^SKIP:")
endfunction()