Eigen::internal::pselect_impl< Packet, EnableIf > Struct Template Reference

#include <GenericPacketMath.h>

Static Public Member Functions

static EIGEN_DEVICE_FUNC Packet run (const Packet &mask, const Packet &a, const Packet &b)
 

Member Function Documentation

◆ run()

template<typename Packet , typename EnableIf = void>
static EIGEN_DEVICE_FUNC Packet Eigen::internal::pselect_impl< Packet, EnableIf >::run ( const Packet mask,
const Packet a,
const Packet b 
)
inlinestatic
585  {
586  return por(pand(a, mask), pandnot(b, mask));
587  }
Scalar * b
Definition: benchVecAdd.cpp:17
const Scalar * a
Definition: level2_cplx_impl.h:32
EIGEN_STRONG_INLINE Packet8h por(const Packet8h &a, const Packet8h &b)
Definition: AVX/PacketMath.h:2309
EIGEN_STRONG_INLINE Packet8h pandnot(const Packet8h &a, const Packet8h &b)
Definition: AVX/PacketMath.h:2323
EIGEN_STRONG_INLINE Packet8h pand(const Packet8h &a, const Packet8h &b)
Definition: AVX/PacketMath.h:2319

References a, b, Eigen::internal::pand(), Eigen::internal::pandnot(), and Eigen::internal::por().

Referenced by Eigen::internal::pselect().


The documentation for this struct was generated from the following file: