Skip to content

FindSYCL.cmake Improvements, master branch (2020.09.22.)

Added various improvements added to FindSYCL.cmake.

  • Made it possible to include select .o object files from the Intel compiler into the built code. (Necessary when using certain standard library functions inside the SYCL kernels.)
  • Added find_package_handle_standard_args(...) to the module to make sure that (amongst others) the REQUIRED keyword (given to find_package(SYCL...)) would be taken into account correctly.
  • Reduced the default build target list to just spir64-unknown-unknown-sycldevice. Since building OpenCL/SPIR64 + CUDA binaries at the same time does not work particularly well with the latest iterations of the Intel compiler.

Most of this was taken from developments made for the Acts code.

Merge request reports