MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / pstoret_partial

Function pstoret_partial

include/Eigen/Eigen/src/Core/GenericPacketMath.h:1232–1238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1230 * The pointer \a from must be aligned on a \a Alignment bytes boundary. */
1231template<typename Scalar, typename Packet, int Alignment>
1232EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void pstoret_partial(Scalar* to, const Packet& from, const Index n, const Index offset = 0)
1233{
1234 if(Alignment >= unpacket_traits<Packet>::alignment)
1235 pstore_partial(to, from, n, offset);
1236 else
1237 pstoreu_partial(to, from, n, offset);
1238}
1239
1240/** \internal \returns a packet version of \a *from.
1241 * Unlike ploadt, ploadt_ro takes advantage of the read-only memory path on the

Callers

nothing calls this directly

Calls 2

pstore_partialFunction · 0.85
pstoreu_partialFunction · 0.85

Tested by

no test coverage detected