32 if (!Kokkos::is_initialized()
33#
if KOKKOS_VERSION >= 30700
34 && !Kokkos::is_finalized()
39 static bool dummy = []() {
41#if KOKKOS_VERSION >= 30700
43 Kokkos::InitializationSettings().set_num_threads(
48 Kokkos::initialize(settings);
49 std::atexit(Kokkos::finalize);