![]() |
|
Macros | |
#define | EIGEN_TEST_NO_LONGDOUBLE |
#define | EIGEN_DEFAULT_DENSE_INDEX_TYPE int |
#define | EIGEN_USE_SYCL |
Functions | |
template<bool verifyNan = false, bool singleTask = false, typename Operation , typename Input , typename Output > | |
void | run_and_verify (Operation &ope, size_t num_elements, const Input &in, Output &out) |
template<typename DataType , typename Input , typename Output > | |
void | test_coeff_wise (size_t num_elements, const Input &in, Output &out) |
template<typename DataType , typename Input , typename Output > | |
void | test_complex_sqrt (size_t num_elements, const Input &in, Output &out) |
template<typename DataType , typename Input , typename Output > | |
void | test_complex_operators (size_t num_elements, const Input &in, Output &out) |
template<typename DataType , typename Input , typename Output > | |
void | test_redux (size_t num_elements, const Input &in, Output &out) |
template<typename DataType , typename Input , typename Output > | |
void | test_replicate (size_t num_elements, const Input &in, Output &out) |
template<typename DataType1 , typename DataType2 , typename Input , typename Output > | |
void | test_product (size_t num_elements, const Input &in, Output &out) |
template<typename DataType1 , typename DataType2 , typename Input , typename Output > | |
void | test_diagonal (size_t num_elements, const Input &in, Output &out) |
template<typename DataType , typename Input , typename Output > | |
void | test_eigenvalues_direct (size_t num_elements, const Input &in, Output &out) |
template<typename DataType , typename Input , typename Output > | |
void | test_matrix_inverse (size_t num_elements, const Input &in, Output &out) |
template<typename DataType , typename Input , typename Output > | |
void | test_numeric_limits (const Input &in, Output &out) |
EIGEN_DECLARE_TEST (sycl_basic) | |
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int |
#define EIGEN_TEST_NO_LONGDOUBLE |
#define EIGEN_USE_SYCL |
EIGEN_DECLARE_TEST | ( | sycl_basic | ) |
References CALL_SUBTEST, and out().
void run_and_verify | ( | Operation & | ope, |
size_t | num_elements, | ||
const Input & | in, | ||
Output & | out | ||
) |
References i, out(), VERIFY_IS_APPROX, and VERIFY_IS_CWISE_APPROX.
Referenced by test_coeff_wise(), test_diagonal(), test_eigenvalues_direct(), test_matrix_inverse(), test_product(), test_redux(), and test_replicate().
void test_coeff_wise | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References i, out(), res, run_and_verify(), Global_parameters::x1(), and Global_parameters::x2().
void test_complex_operators | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References a, b, i, out(), res, size, Global_parameters::x1(), and Global_parameters::x2().
void test_complex_sqrt | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References i, constants::inf, out(), res, Eigen::PlainObjectBase< Derived >::setZero(), and Global_parameters::x1().
void test_diagonal | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References i, out(), res, run_and_verify(), and Global_parameters::x1().
void test_eigenvalues_direct | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References Eigen::SelfAdjointEigenSolver< MatrixType_ >::computeDirect(), Eigen::SelfAdjointEigenSolver< MatrixType_ >::eigenvalues(), i, out(), res, and run_and_verify().
void test_matrix_inverse | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References i, out(), res, and run_and_verify().
void test_numeric_limits | ( | const Input & | in, |
Output & | out | ||
) |
References EIGEN_UNUSED_VARIABLE, oomph::SarahBL::epsilon, max, min, and out().
void test_product | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References i, out(), res, run_and_verify(), Global_parameters::x1(), and Global_parameters::x2().
void test_redux | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References i, N, out(), run_and_verify(), and Global_parameters::x1().
void test_replicate | ( | size_t | num_elements, |
const Input & | in, | ||
Output & | out | ||
) |
References i, out(), run_and_verify(), and Global_parameters::x1().