Classes | Namespaces | Macros | Functions
cxx11_tensor_builtins_sycl.cpp File Reference
#include "main.h"
#include <unsupported/Eigen/CXX11/Tensor>
Include dependency graph for cxx11_tensor_builtins_sycl.cpp:

Go to the source code of this file.

Classes

struct  EqualAssignement
 
struct  PlusEqualAssignement
 

Namespaces

 cl
 
 cl::sycl
 

Macros

#define DECLARE_BINARY_STRUCT(FUNC)
 
#define DECLARE_BINARY_STRUCT_OP(NAME, OPERATOR)
 
#define DECLARE_UNARY_STRUCT(FUNC)
 
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE   int64_t
 
#define EIGEN_TEST_NO_COMPLEX
 
#define EIGEN_TEST_NO_LONGDOUBLE
 
#define EIGEN_USE_SYCL
 
#define RUN_UNARY_TEST(FUNC)
 

Functions

template<typename T >
T cl::sycl::abs (T x)
 
template<typename T >
T cl::sycl::cube (T x)
 
template<typename T >
T cl::sycl::cwiseMax (T x, T y)
 
template<typename T >
T cl::sycl::cwiseMin (T x, T y)
 
 EIGEN_DECLARE_TEST (cxx11_tensor_builtins_sycl)
 
template<typename T >
T cl::sycl::inverse (T x)
 
template<typename T >
T cl::sycl::square (T x)
 
template<typename DataType , int DataLayout>
void test_binary_builtins (const Eigen::SyclDevice &sycl_device, const array< int64_t, 3 > &tensor_range)
 
template<typename DataType , int DataLayout, typename Operator >
void test_binary_builtins_fixed_arg2 (const Eigen::SyclDevice &sycl_device, const array< int64_t, 3 > &tensor_range)
 
template<typename DataType , int DataLayout, typename Operator >
void test_binary_builtins_func (const Eigen::SyclDevice &sycl_device, const array< int64_t, 3 > &tensor_range)
 
template<typename DataType >
static void test_builtin_unary_sycl (const Eigen::SyclDevice &sycl_device)
 
template<typename DataType >
static void test_floating_builtin_binary_sycl (const Eigen::SyclDevice &sycl_device)
 
template<typename DataType >
static void test_integer_builtin_binary_sycl (const Eigen::SyclDevice &sycl_device)
 
template<typename DataType , int DataLayout>
void test_unary_builtins (const Eigen::SyclDevice &sycl_device, const array< int64_t, 3 > &tensor_range)
 
template<typename DataType , int DataLayout, typename Assignement >
void test_unary_builtins_for_assignement (const Eigen::SyclDevice &sycl_device, const array< int64_t, 3 > &tensor_range)
 
template<typename DataType , int DataLayout, typename Assignement , typename Operator >
void test_unary_builtins_for_scalar (const Eigen::SyclDevice &sycl_device, const array< int64_t, 3 > &tensor_range)
 
template<typename DataType , int DataLayout, typename Operator >
void test_unary_builtins_return_bool (const Eigen::SyclDevice &sycl_device, const array< int64_t, 3 > &tensor_range)
 

Macro Definition Documentation

◆ DECLARE_BINARY_STRUCT

#define DECLARE_BINARY_STRUCT (   FUNC)
Value:
struct op_##FUNC { \
template <typename T1, typename T2> \
auto operator()(const T1& x, const T2& y) -> decltype(cl::sycl::FUNC(x, y)) { \
return cl::sycl::FUNC(x, y); \
} \
template <typename T1, typename T2> \
auto operator()(const TensorMap<T1>& x, const TensorMap<T2>& y) -> decltype(x.FUNC(y)) { \
return x.FUNC(y); \
} \
};
Operator implementation generator.
Definition: attr.h:171
Scalar * y
static const Pose3 T2(Rot3::Rodrigues(0.3, 0.2, 0.1), P2)
A tensor expression mapping an existing array of data.
static const Similarity3 T1(R, Point3(3.5, -8.2, 4.2), 1)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST

Definition at line 278 of file cxx11_tensor_builtins_sycl.cpp.

◆ DECLARE_BINARY_STRUCT_OP

#define DECLARE_BINARY_STRUCT_OP (   NAME,
  OPERATOR 
)
Value:
struct op_##NAME { \
template <typename T1, typename T2> \
auto operator()(const T1& x, const T2& y) -> decltype(x OPERATOR y) { \
return x OPERATOR y; \
} \
};
Operator implementation generator.
Definition: attr.h:171
Scalar * y
static const Pose3 T2(Rot3::Rodrigues(0.3, 0.2, 0.1), P2)
static const Similarity3 T1(R, Point3(3.5, -8.2, 4.2), 1)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST

Definition at line 293 of file cxx11_tensor_builtins_sycl.cpp.

◆ DECLARE_UNARY_STRUCT

#define DECLARE_UNARY_STRUCT (   FUNC)
Value:
struct op_##FUNC { \
template <typename T> \
auto operator()(const T& x) -> decltype(cl::sycl::FUNC(x)) { \
return cl::sycl::FUNC(x); \
} \
template <typename T> \
auto operator()(const TensorMap<T>& x) -> decltype(x.FUNC()) { \
return x.FUNC(); \
} \
};
Operator implementation generator.
Definition: attr.h:171
A tensor expression mapping an existing array of data.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST

Definition at line 109 of file cxx11_tensor_builtins_sycl.cpp.

◆ EIGEN_DEFAULT_DENSE_INDEX_TYPE

#define EIGEN_DEFAULT_DENSE_INDEX_TYPE   int64_t

Definition at line 17 of file cxx11_tensor_builtins_sycl.cpp.

◆ EIGEN_TEST_NO_COMPLEX

#define EIGEN_TEST_NO_COMPLEX

Definition at line 15 of file cxx11_tensor_builtins_sycl.cpp.

◆ EIGEN_TEST_NO_LONGDOUBLE

#define EIGEN_TEST_NO_LONGDOUBLE

Definition at line 14 of file cxx11_tensor_builtins_sycl.cpp.

◆ EIGEN_USE_SYCL

#define EIGEN_USE_SYCL

Definition at line 18 of file cxx11_tensor_builtins_sycl.cpp.

◆ RUN_UNARY_TEST

#define RUN_UNARY_TEST (   FUNC)
Value:
test_unary_builtins_for_scalar<DataType, DataLayout, Assignement, \
op_##FUNC>(sycl_device, tensor_range)
void test_unary_builtins_for_scalar(const Eigen::SyclDevice &sycl_device, const array< int64_t, 3 > &tensor_range)
static const int DataLayout

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( cxx11_tensor_builtins_sycl  )

Definition at line 346 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_binary_builtins()

template<typename DataType , int DataLayout>
void test_binary_builtins ( const Eigen::SyclDevice &  sycl_device,
const array< int64_t, 3 > &  tensor_range 
)

Definition at line 308 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_binary_builtins_fixed_arg2()

template<typename DataType , int DataLayout, typename Operator >
void test_binary_builtins_fixed_arg2 ( const Eigen::SyclDevice &  sycl_device,
const array< int64_t, 3 > &  tensor_range 
)

Definition at line 251 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_binary_builtins_func()

template<typename DataType , int DataLayout, typename Operator >
void test_binary_builtins_func ( const Eigen::SyclDevice &  sycl_device,
const array< int64_t, 3 > &  tensor_range 
)

Definition at line 216 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_builtin_unary_sycl()

template<typename DataType >
static void test_builtin_unary_sycl ( const Eigen::SyclDevice &  sycl_device)
static

Definition at line 205 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_floating_builtin_binary_sycl()

template<typename DataType >
static void test_floating_builtin_binary_sycl ( const Eigen::SyclDevice &  sycl_device)
static

Definition at line 325 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_integer_builtin_binary_sycl()

template<typename DataType >
static void test_integer_builtin_binary_sycl ( const Eigen::SyclDevice &  sycl_device)
static

Definition at line 335 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_unary_builtins()

template<typename DataType , int DataLayout>
void test_unary_builtins ( const Eigen::SyclDevice &  sycl_device,
const array< int64_t, 3 > &  tensor_range 
)

Definition at line 190 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_unary_builtins_for_assignement()

template<typename DataType , int DataLayout, typename Assignement >
void test_unary_builtins_for_assignement ( const Eigen::SyclDevice &  sycl_device,
const array< int64_t, 3 > &  tensor_range 
)

Definition at line 141 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_unary_builtins_for_scalar()

template<typename DataType , int DataLayout, typename Assignement , typename Operator >
void test_unary_builtins_for_scalar ( const Eigen::SyclDevice &  sycl_device,
const array< int64_t, 3 > &  tensor_range 
)

Definition at line 53 of file cxx11_tensor_builtins_sycl.cpp.

◆ test_unary_builtins_return_bool()

template<typename DataType , int DataLayout, typename Operator >
void test_unary_builtins_return_bool ( const Eigen::SyclDevice &  sycl_device,
const array< int64_t, 3 > &  tensor_range 
)

Definition at line 164 of file cxx11_tensor_builtins_sycl.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:48