TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Functions
cxx11_tensor_device_sycl.cpp File Reference
#include "main.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)
 

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_device_sycl  )

◆ sycl_device_test_per_device()

template<typename DataType >
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

◆ test_device_exceptions()

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

◆ test_device_memory()

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