#include "main.h"
#include <typeinfo>
Go to the source code of this file.
|
struct | Eigen::internal::bit_andnot |
|
struct | Eigen::test::packet_helper< Cond, Packet > |
|
struct | Eigen::test::packet_helper< false, Packet > |
|
struct | Eigen::test::runall< Scalar, PacketType, IsComplex, IsInteger > |
|
struct | Eigen::test::runner< Scalar, PacketType, Vectorized, HasHalf > |
|
struct | Eigen::test::runner< Scalar, PacketType, false, false > |
|
struct | Eigen::test::runner< Scalar, PacketType, true, false > |
|
struct | Eigen::test::runner< Scalar, PacketType, true, true > |
|
|
#define | CHECK_CWISE1(REFOP, POP) |
|
#define | CHECK_CWISE1_BYREF1_IF(COND, REFOP, POP) |
|
#define | CHECK_CWISE1_EXACT_IF(COND, REFOP, POP) |
|
#define | CHECK_CWISE1_IF(COND, REFOP, POP) |
|
#define | CHECK_CWISE1_N(REFOP, POP, N) |
|
#define | CHECK_CWISE2_IF(COND, REFOP, POP) |
|
#define | CHECK_CWISE3_IF(COND, REFOP, POP) |
|
#define | EIGEN_TEST_MAKE_BITWISE(OP, FUNC) |
|
#define | EIGEN_TEST_MAKE_BITWISE2(OP, FUNC, T) |
|
|
template<typename T , typename Bits , typename Func > |
T | Eigen::internal::apply_bit_op (Bits a, Bits b, Func f) |
|
template<typename Scalar > |
bool | Eigen::test::areApprox (const Scalar *a, const Scalar *b, int size) |
|
template<typename Scalar > |
bool | Eigen::test::areApproxAbs (const Scalar *a, const Scalar *b, int size, const typename NumTraits< Scalar >::Real &refvalue) |
|
template<typename Scalar > |
bool | Eigen::test::areEqual (const Scalar *a, const Scalar *b, int size) |
|
template<typename T > |
bool | Eigen::internal::biteq (T a, T b) |
|
template<typename T > |
Map< const Array< unsigned char, sizeof(T), 1 > > | Eigen::internal::bits (const T &x) |
|
template<typename Scalar > |
EIGEN_DONT_INLINE bool | Eigen::test::isApproxAbs (const Scalar &a, const Scalar &b, const typename NumTraits< Scalar >::Real &refvalue) |
|
template<typename T > |
T | Eigen::internal::negate (const T &x) |
|
template<typename Scalar > |
void | Eigen::test::print_mismatch (const Scalar *ref, const Scalar *vec, int size) |
|
◆ CHECK_CWISE1
#define CHECK_CWISE1 |
( |
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value:{ \
for (
int i=0;
i<PacketSize; ++
i) \
}
bool areApprox(const Scalar *a, const Scalar *b, int size)
Reference counting helper.
EIGEN_DEVICE_FUNC void pstore(Scalar *to, const Packet &from)
Definition at line 126 of file packetmath_test_shared.h.
◆ CHECK_CWISE1_BYREF1_IF
#define CHECK_CWISE1_BYREF1_IF |
( |
|
COND, |
|
|
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value:if(COND) { \
test::packet_helper<COND,Packet>
h; \
for (
int i=0;
i<PacketSize; ++
i) \
Packet pout; \
Scalar sout; \
h.store(data2, POP(h.load(data1), h.forward_reference(pout, sout))); \
h.store(data2+PacketSize, h.forward_reference(pout, sout)); \
}
bool areApprox(const Scalar *a, const Scalar *b, int size)
Reference counting helper.
Definition at line 213 of file packetmath_test_shared.h.
◆ CHECK_CWISE1_EXACT_IF
#define CHECK_CWISE1_EXACT_IF |
( |
|
COND, |
|
|
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value:if(COND) { \
test::packet_helper<COND,Packet>
h; \
for (
int i=0;
i<PacketSize; ++
i) \
h.store(data2, POP(h.load(data1))); \
}
bool areEqual(const Scalar *a, const Scalar *b, int size)
Reference counting helper.
Definition at line 196 of file packetmath_test_shared.h.
◆ CHECK_CWISE1_IF
#define CHECK_CWISE1_IF |
( |
|
COND, |
|
|
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value:if(COND) { \
test::packet_helper<COND,Packet>
h; \
for (
int i=0;
i<PacketSize; ++
i) \
h.store(data2, POP(h.load(data1))); \
}
bool areApprox(const Scalar *a, const Scalar *b, int size)
Reference counting helper.
Definition at line 188 of file packetmath_test_shared.h.
◆ CHECK_CWISE1_N
#define CHECK_CWISE1_N |
( |
|
REFOP, |
|
|
|
POP, |
|
|
|
N |
|
) |
| |
Value:{ \
for (
int i=0;
i<
N; ++
i) \
ref[
i] = REFOP(data1[
i]); \
for (
int j=0;
j<
N;
j+=PacketSize) \
}
bool areApprox(const Scalar *a, const Scalar *b, int size)
Reference counting helper.
EIGEN_DEVICE_FUNC void pstore(Scalar *to, const Packet &from)
Definition at line 136 of file packetmath_test_shared.h.
◆ CHECK_CWISE2_IF
#define CHECK_CWISE2_IF |
( |
|
COND, |
|
|
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value:if(COND) { \
test::packet_helper<COND,Packet>
h; \
for (
int i=0;
i<PacketSize; ++
i) \
ref[
i] =
Scalar(REFOP(data1[
i], data1[i+PacketSize])); \
h.store(data2, POP(h.load(data1),h.load(data1+PacketSize))); \
}
bool areApprox(const Scalar *a, const Scalar *b, int size)
Reference counting helper.
Definition at line 204 of file packetmath_test_shared.h.
◆ CHECK_CWISE3_IF
#define CHECK_CWISE3_IF |
( |
|
COND, |
|
|
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value:if (COND) { \
test::packet_helper<COND, Packet>
h; \
for (
int i = 0;
i < PacketSize; ++
i) \
ref[
i] =
Scalar(REFOP(data1[
i], data1[i + PacketSize], \
data1[i + 2 * PacketSize])); \
h.store(data2, POP(h.load(data1), h.load(data1 + PacketSize), \
h.load(data1 + 2 * PacketSize))); \
}
bool areApprox(const Scalar *a, const Scalar *b, int size)
Reference counting helper.
Definition at line 224 of file packetmath_test_shared.h.
◆ EIGEN_TEST_MAKE_BITWISE
#define EIGEN_TEST_MAKE_BITWISE |
( |
|
OP, |
|
|
|
FUNC |
|
) |
| |
Value: EIGEN_TEST_MAKE_BITWISE2(
OP,FUNC,
double) \
EIGEN_TEST_MAKE_BITWISE2(
OP,FUNC,
half) \
EIGEN_TEST_MAKE_BITWISE2(
OP,FUNC,std::complex<float>) \
EIGEN_TEST_MAKE_BITWISE2(
OP,FUNC,std::complex<double>)
#define EIGEN_TEST_MAKE_BITWISE2(OP, FUNC, T)
Definition at line 49 of file packetmath_test_shared.h.
◆ EIGEN_TEST_MAKE_BITWISE2
#define EIGEN_TEST_MAKE_BITWISE2 |
( |
|
OP, |
|
|
|
FUNC, |
|
|
|
T |
|
) |
| |
Value: }
Map< const Array< unsigned char, sizeof(T), 1 > > bits(const T &x)
Definition at line 44 of file packetmath_test_shared.h.
◆ g_first_pass