27#ifdef KOKKOS_ENABLE_CUDA
37 template <
typename ExecSpace,
39 Spaces::IsCuda<ExecSpace> =
true>
41 return cudaSlot.space_instance<priority>();
53 template <
typename ExecSpace, Spaces::IsCuda<ExecSpace> = true>
54 Teuchos::RCP<const ExecSpace>
56 return cudaSlot.space_instance(priority);
60#ifdef KOKKOS_ENABLE_SERIAL
61 template <
typename ExecSpace,
63 Spaces::IsSerial<ExecSpace> =
true>
65 return serialSlot.space_instance<priority>();
67 template <
typename ExecSpace, Spaces::IsSerial<ExecSpace> = true>
68 Teuchos::RCP<const ExecSpace>
70 return serialSlot.space_instance(priority);
74#ifdef KOKKOS_ENABLE_OPENMP
75 template <
typename ExecSpace,
77 Spaces::IsOpenMP<ExecSpace> =
true>
79 return openMPSlot.space_instance<priority>();
81 template <
typename ExecSpace, Spaces::IsOpenMP<ExecSpace> = true>
82 Teuchos::RCP<const ExecSpace>
84 return openMPSlot.space_instance(priority);
88#ifdef KOKKOS_ENABLE_HIP
89 template <
typename ExecSpace,
91 Spaces::IsHIP<ExecSpace> =
true>
93 return HIPSlot.space_instance<priority>();
95 template <
typename ExecSpace, Spaces::IsHIP<ExecSpace> = true>
96 Teuchos::RCP<const ExecSpace>
98 return HIPSlot.space_instance(priority);
102#ifdef KOKKOS_ENABLE_SYCL
103 template <
typename ExecSpace,
105 Spaces::IsSYCL<ExecSpace> =
true>
107 return SYCLSlot.space_instance<priority>();
109 template <
typename ExecSpace, Spaces::IsSYCL<ExecSpace> = true>
110 Teuchos::RCP<const ExecSpace>
112 return SYCLSlot.space_instance(priority);
116#ifdef KOKKOS_ENABLE_SERIAL
119#ifdef KOKKOS_ENABLE_OPENMP
122#ifdef KOKKOS_ENABLE_CUDA
125#ifdef KOKKOS_ENABLE_HIP
128#ifdef KOKKOS_ENABLE_SYCL