Skip to content

Kokkos: do not redeclare functions if device is host

Junchao Zhang requested to merge jczhang/fix-kokkos-memspace into main

If petsc is configured with kokkos but without cuda, we met errors for function redeclaration in template instantiation. This MR tests if device is host and does conditional compilation.

Merge request reports