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
14 lines
236 B
C++
14 lines
236 B
C++
int sycl_value();
|
|
int cxx_value();
|
|
int conflicting_sycl_value();
|
|
int conflicting_cxx_value();
|
|
|
|
int main()
|
|
{
|
|
return sycl_value() + cxx_value() + conflicting_sycl_value() +
|
|
conflicting_cxx_value() ==
|
|
10
|
|
? 0
|
|
: 1;
|
|
}
|