The SYCL workaround we use to make Octo-Tiger work on the Intel GPUs (see #486) actually causes problems when using the SYCL execution space on other backends (NVIDIA/AMD GPUs). Hence, the SYCL test pipeline has been unstable ever since this has been merged.
This PR adds a CMake flag to steer whether the workaround should be used or not at compile-time. The Octo-Tiger Spack package can then automatically use this flag when Kokkkos was built with the a Intel GPU architecture flag.
The SYCL workaround we use to make Octo-Tiger work on the Intel GPUs (see #486) actually causes problems when using the SYCL execution space on other backends (NVIDIA/AMD GPUs). Hence, the SYCL test pipeline has been unstable ever since this has been merged.
This PR adds a CMake flag to steer whether the workaround should be used or not at compile-time. The Octo-Tiger Spack package can then automatically use this flag when Kokkkos was built with the a Intel GPU architecture flag.