45 template <
typename O,
typename T,
int N,
typename D>
46 KOKKOS_INLINE_FUNCTION
47 Vector< Stokhos::StaticFixedStorage<O,T,N,D> >
50 Vector< Stokhos::StaticFixedStorage<O,T,N,D> > c;
51 #ifdef STOKHOS_HAVE_PRAGMA_IVDEP 54 #ifdef STOKHOS_HAVE_PRAGMA_VECTOR_ALIGNED 55 #pragma vector aligned 57 #ifdef STOKHOS_HAVE_PRAGMA_UNROLL 60 for (O i=0; i<a.size(); ++i)
61 c.fastAccessCoeff(i) =
OPER(a.fastAccessCoeff(i));
65 template <
typename O,
typename T,
int N,
typename D>
66 KOKKOS_INLINE_FUNCTION
67 Vector< Stokhos::StaticFixedStorage<O,T,N,D> >
70 Vector< Stokhos::StaticFixedStorage<O,T,N,D> > c;
71 #ifdef STOKHOS_HAVE_PRAGMA_IVDEP 74 #ifdef STOKHOS_HAVE_PRAGMA_VECTOR_ALIGNED 75 #pragma vector aligned 77 #ifdef STOKHOS_HAVE_PRAGMA_UNROLL 80 for (O i=0; i<a.size(); ++i)
81 c.fastAccessCoeff(i) =
OPER(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)