• Home
  • Raw
  • Download

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; in packetmath() local
48 const int size = PacketSize*4; in packetmath()
51 EIGEN_ALIGN_128 Packet packets[PacketSize*2]; in packetmath()
60 VERIFY(areApprox(data1, data2, PacketSize) && "aligned load/store"); in packetmath()
62 for (int offset=0; offset<PacketSize; ++offset) in packetmath()
65 VERIFY(areApprox(data1+offset, data2, PacketSize) && "ei_ploadu"); in packetmath()
68 for (int offset=0; offset<PacketSize; ++offset) in packetmath()
71 VERIFY(areApprox(data1, data2+offset, PacketSize) && "ei_pstoreu"); in packetmath()
74 for (int offset=0; offset<PacketSize; ++offset) in packetmath()
77 packets[1] = ei_pload(data1+PacketSize); in packetmath()
84 for (int i=0; i<PacketSize; ++i) in packetmath()
87 typedef Matrix<Scalar, PacketSize, 1> Vector; in packetmath()
88 VERIFY(areApprox(ref, data2, PacketSize) && "ei_palign"); in packetmath()
101 for (int i=0; i<PacketSize; ++i) in packetmath()
104 VERIFY(areApprox(ref, data2, PacketSize) && "ei_pset1"); in packetmath()
109 for (int i=0; i<PacketSize; ++i) in packetmath()
113 for (int j=0; j<PacketSize; ++j) in packetmath()
116 for (int i=0; i<PacketSize; ++i) in packetmath()
117 ref[j] += data1[i+j*PacketSize]; in packetmath()
118 packets[j] = ei_pload(data1+j*PacketSize); in packetmath()
121 VERIFY(areApprox(ref, data2, PacketSize) && "ei_preduxp"); in packetmath()