#include "main.h"
#include <unsupported/Eigen/CXX11/Tensor>
Go to the source code of this file.
Macros | |
#define | EIGEN_DEFAULT_DENSE_INDEX_TYPE int |
#define | EIGEN_TEST_FUNC cxx11_tensor_sycl |
#define | EIGEN_TEST_NO_COMPLEX |
#define | EIGEN_TEST_NO_LONGDOUBLE |
#define | EIGEN_USE_SYCL |
Functions | |
void | test_cxx11_tensor_sycl () |
void | test_sycl_cpu (const Eigen::SyclDevice &sycl_device) |
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int |
Definition at line 19 of file cxx11_tensor_sycl.cpp.
#define EIGEN_TEST_FUNC cxx11_tensor_sycl |
Definition at line 18 of file cxx11_tensor_sycl.cpp.
#define EIGEN_TEST_NO_COMPLEX |
Definition at line 17 of file cxx11_tensor_sycl.cpp.
#define EIGEN_TEST_NO_LONGDOUBLE |
Definition at line 16 of file cxx11_tensor_sycl.cpp.
#define EIGEN_USE_SYCL |
Definition at line 20 of file cxx11_tensor_sycl.cpp.
void test_cxx11_tensor_sycl | ( | ) |
Definition at line 155 of file cxx11_tensor_sycl.cpp.
void test_sycl_cpu | ( | const Eigen::SyclDevice & | sycl_device | ) |
a=1.2f
a=b*1.2f
c=a*b
c=a+b
c=a*a
d= (a>0.5? b:c)
Definition at line 30 of file cxx11_tensor_sycl.cpp.