mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
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
5 lines
201 B
CMake
5 lines
201 B
CMake
set(CMAKE_EXPERIMENTAL_SYCL "c0d1fb10-2ece-420e-9d29-7d7f2b300f25")
|
|
# Pretend the ABI check failed in order to force the fall-back test to run.
|
|
set(CMAKE_SYCL_ABI_COMPILED FALSE)
|
|
enable_language(SYCL)
|