![]() |
|
Classes | |
struct | Generator1D |
struct | Generator2D |
Macros | |
#define | EIGEN_TEST_NO_LONGDOUBLE |
#define | EIGEN_TEST_NO_COMPLEX |
#define | EIGEN_DEFAULT_DENSE_INDEX_TYPE int64_t |
#define | EIGEN_USE_SYCL |
Functions | |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_1D_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_2D_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_gaussian_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , typename dev_Selector > | |
void | sycl_generator_test_per_device (dev_Selector s) |
EIGEN_DECLARE_TEST (cxx11_tensor_generator_sycl) | |
Variables | |
static const float | error_threshold = 1e-8f |
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int64_t |
#define EIGEN_TEST_NO_COMPLEX |
#define EIGEN_TEST_NO_LONGDOUBLE |
#define EIGEN_USE_SYCL |
EIGEN_DECLARE_TEST | ( | cxx11_tensor_generator_sycl | ) |
References CALL_SUBTEST.
void sycl_generator_test_per_device | ( | dev_Selector | s | ) |
References s.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), i, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size(), and VERIFY_IS_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), i, j, matrix(), and VERIFY_IS_EQUAL.
|
static |
References cols, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), error_threshold, i, Eigen::internal::isApprox(), j, matrix(), and rows.
Referenced by test_gaussian_sycl().