kokkos / kokkos-kernels

Kokkos C++ Performance Portability Programming Ecosystem: Math Kernels - Provides BLAS, Sparse BLAS and Graph Kernels
Other
311 stars 98 forks source link

CMake Config forces launch_compiler #2424

Open rbberger opened 2 weeks ago

rbberger commented 2 weeks ago

Projects that use Kokkos and KokkosKernels can't disable the Kokkos launch_compiler via COMPONENTS separable_compilation. KokkosKernels always forces the use of launch_compiler.

find_package(Kokkos COMPONENTS separable_compilation)
find_package(KokkosKernels)

still leads to the global launch_compiler rule to get activated due to find_dependency(Kokkos) in the KokkosKernels Config module.

JBludau commented 1 week ago

separable compilation is not working as expected in kokkos core. We are currently working on it, for starters see https://github.com/kokkos/kokkos/pull/7525. Will take a look at KokkosKernels as soon as it is fixed in core.