TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Functions
cxx11_tensor_sycl.cpp File Reference
#include "main.h"
#include <unsupported/Eigen/CXX11/Tensor>

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_sycl_mem_transfers (const Eigen::SyclDevice &sycl_device)
 
template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_mem_sync (const Eigen::SyclDevice &sycl_device)
 
template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_mem_sync_offsets (const Eigen::SyclDevice &sycl_device)
 
template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_memset_offsets (const Eigen::SyclDevice &sycl_device)
 
template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_computations (const Eigen::SyclDevice &sycl_device)
 
template<typename DataType , typename dev_Selector >
void sycl_computing_test_per_device (dev_Selector s)
 
 EIGEN_DECLARE_TEST (cxx11_tensor_sycl)
 

Macro Definition Documentation

◆ 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

#define EIGEN_USE_SYCL

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( cxx11_tensor_sycl  )

◆ sycl_computing_test_per_device()

template<typename DataType , typename dev_Selector >
void sycl_computing_test_per_device ( dev_Selector  s)

◆ test_sycl_computations()

template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_computations ( 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)

◆ test_sycl_mem_sync()

template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_mem_sync ( const Eigen::SyclDevice &  sycl_device)

◆ test_sycl_mem_sync_offsets()

template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_mem_sync_offsets ( const Eigen::SyclDevice &  sycl_device)

◆ test_sycl_mem_transfers()

template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_mem_transfers ( const Eigen::SyclDevice &  sycl_device)

◆ test_sycl_memset_offsets()

template<typename DataType , int DataLayout, typename IndexType >
void test_sycl_memset_offsets ( const Eigen::SyclDevice &  sycl_device)