10 #ifndef STOKHOS_MPL_FOR_EACH_HPP
11 #define STOKHOS_MPL_FOR_EACH_HPP
13 #include "Sacado_mpl_begin.hpp"
14 #include "Sacado_mpl_end.hpp"
15 #include "Sacado_mpl_next.hpp"
16 #include "Sacado_mpl_deref.hpp"
18 #include "Kokkos_Macros.hpp"
25 class Iter1 =
typename Sacado::mpl::begin<Seq>::type,
26 class Iter2 =
typename Sacado::mpl::end<Seq>::type>
28 template <
typename Op>
29 KOKKOS_INLINE_FUNCTION
31 op(
typename Sacado::mpl::deref<Iter1>::type());
36 template <
class Seq,
class Iter1>
38 template <
typename Op>
39 KOKKOS_INLINE_FUNCTION
47 #endif // STOKHOS_MPL_FOR_EACH_HPP
KOKKOS_INLINE_FUNCTION for_each(const Op &op)
KOKKOS_INLINE_FUNCTION for_each(const Op &op)
ScalarType f(const Teuchos::Array< ScalarType > &x, double a, double b)