45 template <
typename O,
typename T,
int N,
typename D>
46 KOKKOS_INLINE_FUNCTION
47 Vector< Stokhos::StaticFixedStorage<O,T,N,D> >
52 #ifdef STOKHOS_HAVE_PRAGMA_IVDEP
55 #ifdef STOKHOS_HAVE_PRAGMA_VECTOR_ALIGNED
56 #pragma vector aligned
58 #ifdef STOKHOS_HAVE_PRAGMA_UNROLL
61 for (O i=0; i<a.size(); ++i)
62 c.fastAccessCoeff(i) =
OPNAME(a.fastAccessCoeff(i));
66 template <
typename O,
typename T,
int N,
typename D>
67 KOKKOS_INLINE_FUNCTION
68 Vector< Stokhos::StaticFixedStorage<O,T,N,D> >
73 #ifdef STOKHOS_HAVE_PRAGMA_IVDEP
76 #ifdef STOKHOS_HAVE_PRAGMA_VECTOR_ALIGNED
77 #pragma vector aligned
79 #ifdef STOKHOS_HAVE_PRAGMA_UNROLL
82 for (O i=0; i<a.size(); ++i)
83 c.fastAccessCoeff(i) = ONAME(a.fastAccessCoeff(i));
Statically allocated storage class.
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > OPNAME(const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a, const Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &b)
KOKKOS_INLINE_FUNCTION Vector< Stokhos::StaticFixedStorage< O, T, N, D > > OPNAME(const volatile Vector< Stokhos::StaticFixedStorage< O, T, N, D > > &a)