STEllAR-GROUP / octotiger

Astrophysics program simulating the evolution of star systems based on the fast multipole method on adaptive Octrees
http://octotiger.stellar-group.org/
Boost Software License 1.0
48 stars 18 forks source link

Flag for intel gpu workaround #489

Closed G-071 closed 7 months ago

G-071 commented 7 months ago

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.