![]() |
|
Classes | |
struct | CustomReducer< InT, OutT > |
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_full_reductions_sum_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_sum_with_offset_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_max_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_max_with_offset_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_mean_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_mean_with_offset_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_mean_with_odd_offset_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_min_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_min_with_offset_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_first_dim_reductions_max_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_first_dim_reductions_max_with_offset_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_last_dim_reductions_max_with_offset_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_first_dim_reductions_sum_sycl (const Eigen::SyclDevice &sycl_device, IndexType dim_x, IndexType dim_y) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_first_dim_reductions_mean_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_last_dim_reductions_mean_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_last_dim_reductions_sum_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_last_reductions_sum_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
static void | test_last_reductions_mean_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , typename AccumType , int DataLayout, typename IndexType > | |
static void | test_full_reductions_custom_sycl (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , typename Dev > | |
void | sycl_reduction_test_full_per_device (const Dev &sycl_device) |
template<typename DataType , typename Dev > | |
void | sycl_reduction_full_offset_per_device (const Dev &sycl_device) |
template<typename DataType , typename Dev > | |
void | sycl_reduction_test_first_dim_per_device (const Dev &sycl_device) |
template<typename DataType , typename Dev > | |
void | sycl_reduction_test_last_dim_per_device (const Dev &sycl_device) |
EIGEN_DECLARE_TEST (cxx11_tensor_reduction_sycl) | |
#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_reduction_sycl | ) |
References CALL_SUBTEST_1, CALL_SUBTEST_2, CALL_SUBTEST_3, and CALL_SUBTEST_4.
void sycl_reduction_full_offset_per_device | ( | const Dev & | sycl_device | ) |
void sycl_reduction_test_first_dim_per_device | ( | const Dev & | sycl_device | ) |
void sycl_reduction_test_full_per_device | ( | const Dev & | sycl_device | ) |
void sycl_reduction_test_last_dim_per_device | ( | const Dev & | sycl_device | ) |
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), j, k, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_APPROX.
|
static |
References Eigen::internal::array_prod(), Eigen::TensorBase< Derived, AccessLevel >::device(), i, VERIFY_IS_APPROX, and VERIFY_IS_NOT_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), j, k, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_APPROX.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), i, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_APPROX.
|
static |
References Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::data(), DataLayout, Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::dimensions(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_APPROX.
|
static |
References Eigen::internal::array_prod(), Eigen::TensorBase< Derived, AccessLevel >::device(), VERIFY_IS_APPROX, and VERIFY_IS_NOT_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_EQUAL.
|
static |
References Eigen::TensorMap< PlainObjectType, Options_, MakePointer_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), and VERIFY_IS_APPROX.
|
static |
References Eigen::internal::array_prod(), Eigen::TensorBase< Derived, AccessLevel >::device(), VERIFY_IS_APPROX, and VERIFY_IS_NOT_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_APPROX.
|
static |
References Eigen::internal::array_prod(), Eigen::TensorBase< Derived, AccessLevel >::device(), VERIFY_IS_APPROX, and VERIFY_IS_NOT_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), Eigen::TensorBase< Derived, AccessLevel >::reshape(), Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_APPROX.
|
static |
References Eigen::internal::array_prod(), Eigen::TensorBase< Derived, AccessLevel >::device(), and VERIFY_IS_APPROX.
|
static |
References Eigen::internal::array_prod(), Eigen::TensorMap< PlainObjectType, Options_, MakePointer_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), i, VERIFY_IS_APPROX, VERIFY_IS_EQUAL, and VERIFY_IS_NOT_EQUAL.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), j, k, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_APPROX.
|
static |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::dimensions(), j, k, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), Eigen::DSizes< DenseIndex, NumDims >::TotalSize(), and VERIFY_IS_APPROX.
|
static |
References Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::data(), DataLayout, Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::dimensions(), j, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_APPROX.
|
static |
References Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::data(), DataLayout, Eigen::TensorBase< Derived, AccessLevel >::device(), Eigen::TensorFixedSize< Scalar_, Dimensions_, Options_, IndexType >::dimensions(), j, Eigen::TensorBase< Derived, AccessLevel >::setRandom(), and VERIFY_IS_APPROX.