MCPcopy Create free account
hub / github.com/Derious/cuMPC / pabsdiff

Function pabsdiff

dependence/eigen-3.4.0/Eigen/src/Core/GenericPacketMath.h:594–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592
593/** \internal \returns the min of \a a and \a b (coeff-wise) */
594template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
595pabsdiff(const Packet& a, const Packet& b) { return pselect(pcmp_lt(a, b), psub(b, a), psub(a, b)); }
596
597/** \internal \returns a packet version of \a *from, from must be 16 bytes aligned */
598template<typename Packet> EIGEN_DEVICE_FUNC inline Packet

Callers 1

packetOpMethod · 0.85

Calls 3

pselectFunction · 0.70
pcmp_ltFunction · 0.70
psubFunction · 0.70

Tested by

no test coverage detected