#include <iostream>
#include <chrono>
#include <ctime>
#include "main.h"
#include <unsupported/Eigen/CXX11/Tensor>
#include <iomanip>
Go to the source code of this file.
|
| EIGEN_DECLARE_TEST (cxx11_tensor_convolution_sycl) |
|
template<typename Dev_selector > |
void | tensorConvolutionPerDevice (Dev_selector &s) |
|
template<typename DataType , int DataLayout, typename IndexType > |
static void | test_evals (const Eigen::SyclDevice &sycl_device) |
|
template<typename DataType , int DataLayout, typename IndexType > |
static void | test_expr (const Eigen::SyclDevice &sycl_device) |
|
template<typename DataType , int DataLayout, typename IndexType > |
static void | test_larg_expr1D (const Eigen::SyclDevice &sycl_device) |
|
template<typename DataType , int DataLayout, typename IndexType > |
static void | test_larg_expr2D (const Eigen::SyclDevice &sycl_device) |
|
template<typename DataType , int DataLayout, typename IndexType > |
static void | test_larg_expr3D (const Eigen::SyclDevice &sycl_device) |
|
template<typename DataType , int DataLayout, typename IndexType > |
static void | test_modes (const Eigen::SyclDevice &sycl_device) |
|
template<typename DataType , int DataLayout, typename IndexType > |
static void | test_strides (const Eigen::SyclDevice &sycl_device) |
|
◆ EIGEN_DEFAULT_DENSE_INDEX_TYPE
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int64_t |
◆ EIGEN_TEST_NO_COMPLEX
#define EIGEN_TEST_NO_COMPLEX |
◆ EIGEN_TEST_NO_LONGDOUBLE
#define EIGEN_TEST_NO_LONGDOUBLE |
◆ EIGEN_USE_SYCL
◆ EIGEN_DECLARE_TEST()
EIGEN_DECLARE_TEST |
( |
cxx11_tensor_convolution_sycl |
| ) |
|
◆ tensorConvolutionPerDevice()
template<typename Dev_selector >
void tensorConvolutionPerDevice |
( |
Dev_selector & |
s | ) |
|
◆ test_evals()
template<typename DataType , int DataLayout, typename IndexType >
static void test_evals |
( |
const Eigen::SyclDevice & |
sycl_device | ) |
|
|
static |
◆ test_expr()
template<typename DataType , int DataLayout, typename IndexType >
static void test_expr |
( |
const Eigen::SyclDevice & |
sycl_device | ) |
|
|
static |
◆ test_larg_expr1D()
template<typename DataType , int DataLayout, typename IndexType >
static void test_larg_expr1D |
( |
const Eigen::SyclDevice & |
sycl_device | ) |
|
|
static |
◆ test_larg_expr2D()
template<typename DataType , int DataLayout, typename IndexType >
static void test_larg_expr2D |
( |
const Eigen::SyclDevice & |
sycl_device | ) |
|
|
static |
◆ test_larg_expr3D()
template<typename DataType , int DataLayout, typename IndexType >
static void test_larg_expr3D |
( |
const Eigen::SyclDevice & |
sycl_device | ) |
|
|
static |
◆ test_modes()
template<typename DataType , int DataLayout, typename IndexType >
static void test_modes |
( |
const Eigen::SyclDevice & |
sycl_device | ) |
|
|
static |
◆ test_strides()
template<typename DataType , int DataLayout, typename IndexType >
static void test_strides |
( |
const Eigen::SyclDevice & |
sycl_device | ) |
|
|
static |
◆ error_threshold
const float error_threshold =1e-4f |
|
static |