36#ifdef KOKKOS_ENABLE_CUDA
46 template <
typename ExecSpace,
48 Spaces::IsCuda<ExecSpace> =
true>
50 return cudaSlot.space_instance<priority>();
62 template <
typename ExecSpace, Spaces::IsCuda<ExecSpace> = true>
63 Teuchos::RCP<const ExecSpace>
65 return cudaSlot.space_instance(priority);
69#ifdef KOKKOS_ENABLE_SERIAL
70 template <
typename ExecSpace,
72 Spaces::IsSerial<ExecSpace> =
true>
74 return serialSlot.space_instance<priority>();
76 template <
typename ExecSpace, Spaces::IsSerial<ExecSpace> = true>
77 Teuchos::RCP<const ExecSpace>
79 return serialSlot.space_instance(priority);
83#ifdef KOKKOS_ENABLE_OPENMP
84 template <
typename ExecSpace,
86 Spaces::IsOpenMP<ExecSpace> =
true>
88 return openMPSlot.space_instance<priority>();
90 template <
typename ExecSpace, Spaces::IsOpenMP<ExecSpace> = true>
91 Teuchos::RCP<const ExecSpace>
93 return openMPSlot.space_instance(priority);
97#ifdef KOKKOS_ENABLE_HIP
98 template <
typename ExecSpace,
100 Spaces::IsHIP<ExecSpace> =
true>
102 return HIPSlot.space_instance<priority>();
104 template <
typename ExecSpace, Spaces::IsHIP<ExecSpace> = true>
105 Teuchos::RCP<const ExecSpace>
107 return HIPSlot.space_instance(priority);
111#ifdef KOKKOS_ENABLE_SYCL
112 template <
typename ExecSpace,
114 Spaces::IsSYCL<ExecSpace> =
true>
116 return SYCLSlot.space_instance<priority>();
118 template <
typename ExecSpace, Spaces::IsSYCL<ExecSpace> = true>
119 Teuchos::RCP<const ExecSpace>
121 return SYCLSlot.space_instance(priority);
125#ifdef KOKKOS_ENABLE_SERIAL
128#ifdef KOKKOS_ENABLE_OPENMP
131#ifdef KOKKOS_ENABLE_CUDA
134#ifdef KOKKOS_ENABLE_HIP
137#ifdef KOKKOS_ENABLE_SYCL