42 #ifndef STOKHOS_KOKKOS_TRAITS_HPP
43 #define STOKHOS_KOKKOS_TRAITS_HPP
45 #include "Sacado_Traits.hpp"
47 #include "Kokkos_Macros.hpp"
48 #include "Kokkos_Core_fwd.hpp"
52 #ifdef KOKKOS_ENABLE_SERIAL
54 struct StringName< Kokkos::Serial > {
55 static std::string eval() {
return "Kokkos::Serial"; }
59 #ifdef KOKKOS_ENABLE_THREADS
61 struct StringName< Kokkos::Threads > {
62 static std::string eval() {
return "Kokkos::Threads"; }
66 #ifdef KOKKOS_ENABLE_OPENMP
68 struct StringName< Kokkos::OpenMP > {
69 static std::string eval() {
return "Kokkos::OpenMP"; }
73 #ifdef KOKKOS_ENABLE_CUDA
75 struct StringName< Kokkos::Cuda > {
76 static std::string eval() {
return "Kokkos::Cuda"; }
82 #endif // STOKHOS_KOKKOS_TRAITS_HPP