21 #ifndef __KokkosUtilities_hpp__
22 #define __KokkosUtilities_hpp__
33 template<
typename ExecutionSpace>
37 return Kokkos::SpaceAccessibility<ExecutionSpace,HostSpace>::accessible;
40 template<
typename ExecutionSpace,
typename MemoerySpace>
44 return Kokkos::SpaceAccessibility<ExecutionSpace,MemoerySpace>::accessible;
49 typename... Properties>
58 typename... Properties>
62 using ViewType =
ViewType1D<Type,Properties...>;
63 word vl = view.label();
67 Kokkos::WithoutInitializing,
74 typename... Properties>
79 Kokkos::deep_copy(view, val);
85 typename... Properties>
94 typename... Properties>
98 using ViewType =
ViewType3D<Type,Properties...>;
99 word vl = view.label();
103 Kokkos::WithoutInitializing,
110 typename... Properties>
115 Kokkos::deep_copy(view, val);
119 template<
typename ViewType>
130 #endif //__KokkosUtilities_hpp__