Lines Matching refs:PacketSize
22 for (int i=0; i<PacketSize; ++i) \
23 ref[i] = REFOP(data1[i], data1[i+PacketSize]); \
24 ei_pstore(data2, POP(ei_pload(data1), ei_pload(data1+PacketSize))); \
25 VERIFY(areApprox(ref, data2, PacketSize) && #POP); \
46 const int PacketSize = ei_packet_traits<Scalar>::size;
48 const int size = PacketSize*4;
51 EIGEN_ALIGN_128 Packet packets[PacketSize*2];
60 VERIFY(areApprox(data1, data2, PacketSize) && "aligned load/store");
62 for (int offset=0; offset<PacketSize; ++offset)
65 VERIFY(areApprox(data1+offset, data2, PacketSize) && "ei_ploadu");
68 for (int offset=0; offset<PacketSize; ++offset)
71 VERIFY(areApprox(data1, data2+offset, PacketSize) && "ei_pstoreu");
74 for (int offset=0; offset<PacketSize; ++offset)
77 packets[1] = ei_pload(data1+PacketSize);
84 for (int i=0; i<PacketSize; ++i)
87 typedef Matrix<Scalar, PacketSize, 1> Vector;
88 VERIFY(areApprox(ref, data2, PacketSize) && "ei_palign");
101 for (int i=0; i<PacketSize; ++i)
104 VERIFY(areApprox(ref, data2, PacketSize) && "ei_pset1");
109 for (int i=0; i<PacketSize; ++i)
113 for (int j=0; j<PacketSize; ++j)
116 for (int i=0; i<PacketSize; ++i)
117 ref[j] += data1[i+j*PacketSize];
118 packets[j] = ei_pload(data1+j*PacketSize);
121 VERIFY(areApprox(ref, data2, PacketSize) && "ei_preduxp");