Implemented the SSE version of the gather and scatter packet primitives.

This commit is contained in:
Benoit Steiner
2014-03-27 18:29:01 -07:00
parent 7f3162f707
commit 8a94cb3edd
4 changed files with 53 additions and 1 deletions

View File

@@ -223,7 +223,7 @@ template<typename Scalar, typename Packet> EIGEN_DEVICE_FUNC inline void pstoreu
{ return ploadu<Packet>(from); }
template<typename Scalar, typename Packet> EIGEN_DEVICE_FUNC inline void pscatter(Scalar* to, const Packet& from, int /*stride*/)
{ (*to) = from; }
{ pstore(to, from); }
/** \internal tries to do cache prefetching of \a addr */
template<typename Scalar> inline void prefetch(const Scalar* addr)