diff --git a/include/ddc/discrete_space.hpp b/include/ddc/discrete_space.hpp index 54e0df3b4..9110fdd24 100644 --- a/include/ddc/discrete_space.hpp +++ b/include/ddc/discrete_space.hpp @@ -206,4 +206,10 @@ KOKKOS_FORCEINLINE_FUNCTION detail::ddim_impl_t const& discre } } +template +detail::ddim_impl_t const& host_discrete_space() +{ + return detail::g_discrete_space_dual->get_host(); +} + } // namespace ddc