10 #ifndef STOKHOS_KOKKOS_TRAITS_HPP
11 #define STOKHOS_KOKKOS_TRAITS_HPP
13 #include "Sacado_Traits.hpp"
15 #include "Kokkos_Macros.hpp"
16 #include "Kokkos_Core_fwd.hpp"
20 #ifdef KOKKOS_ENABLE_SERIAL
22 struct StringName< Kokkos::Serial > {
23 static std::string eval() {
return "Kokkos::Serial"; }
27 #ifdef KOKKOS_ENABLE_THREADS
29 struct StringName< Kokkos::Threads > {
30 static std::string eval() {
return "Kokkos::Threads"; }
34 #ifdef KOKKOS_ENABLE_OPENMP
36 struct StringName< Kokkos::OpenMP > {
37 static std::string eval() {
return "Kokkos::OpenMP"; }
41 #ifdef KOKKOS_ENABLE_CUDA
43 struct StringName< Kokkos::Cuda > {
44 static std::string eval() {
return "Kokkos::Cuda"; }
50 #endif // STOKHOS_KOKKOS_TRAITS_HPP