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
11 lines
189 B
C++
11 lines
189 B
C++
bool device_available();
|
|
int mixed_value();
|
|
int mixed_kernel();
|
|
int main()
|
|
{
|
|
if (!device_available()) {
|
|
return 77;
|
|
}
|
|
return mixed_value() == 46 && mixed_kernel() == 42 ? 0 : 1;
|
|
}
|