![]() |
|
#include "main.h"
#include "OffByOneScalar.h"
#include <unsupported/Eigen/CXX11/Tensor>
#include <stdint.h>
#include <iostream>
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 > | |
void | test_device_memory (const Eigen::SyclDevice &sycl_device) |
template<typename DataType , int DataLayout, typename IndexType > | |
void | test_device_exceptions (const Eigen::SyclDevice &sycl_device) |
template<typename DataType > | |
void | sycl_device_test_per_device (const cl::sycl::device &d) |
EIGEN_DECLARE_TEST (cxx11_tensor_device_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_device_sycl | ) |
References CALL_SUBTEST, and sycl_device_test_per_device().
void sycl_device_test_per_device | ( | const cl::sycl::device & | d | ) |
this test throw an exception. enable it if you want to see the exception
this test throw an exception. enable it if you want to see the exception
Referenced by EIGEN_DECLARE_TEST().
void test_device_exceptions | ( | const Eigen::SyclDevice & | sycl_device | ) |
void test_device_memory | ( | const Eigen::SyclDevice & | sycl_device | ) |
References Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::data(), i, Eigen::Tensor< Scalar_, NumIndices_, Options_, IndexType_ >::size(), Eigen::value, and VERIFY_IS_EQUAL.