Macros | Functions
cxx11_tensor_contract_sycl.cpp File Reference
#include <algorithm>
#include <chrono>
#include <ctime>
#include <iostream>
#include "main.h"
#include <unsupported/Eigen/CXX11/Tensor>
Include dependency graph for cxx11_tensor_contract_sycl.cpp:

Go to the source code of this file.

Macros

#define EIGEN_DEFAULT_DENSE_INDEX_TYPE   int64_t
 
#define EIGEN_TEST_NO_COMPLEX
 
#define EIGEN_TEST_NO_LONGDOUBLE
 
#define EIGEN_USE_SYCL
 

Functions

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void contraction_batch (const Device &sycl_device, IndexType m_size, IndexType k_size, IndexType n_size, IndexType m_batch, IndexType start, IndexType limit)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
void contraction_both_transposed (const Device &sycl_device, IndexType m_size, IndexType k_size, IndexType n_size)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
void contraction_lhs_transposed (const Device &sycl_device, IndexType m_size, IndexType k_size, IndexType n_size)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
void contraction_rhs_transposed (const Device &sycl_device, IndexType m_size, IndexType k_size, IndexType n_size)
 
 EIGEN_DECLARE_TEST (cxx11_tensor_contract_sycl)
 
template<typename Dev >
void skinnyTensor_col (const Dev &sycl_device)
 
template<typename Dev >
void skinnyTensor_row (const Dev &sycl_device)
 
template<typename Dev >
void tensor_contraction_batch_per_device (const Dev &sycl_device)
 
template<typename Dev >
void tensor_contraction_both_transposed_per_device (const Dev &sycl_device)
 
template<typename Dev >
void tensor_contraction_lhs_transposed_per_device (const Dev &sycl_device)
 
template<typename Dev >
void tensor_contraction_rhs_transposed_per_device (const Dev &sycl_device)
 
template<typename Dev >
void tensorOutofBound (const Dev &sycl_device)
 
template<typename Dev >
void tensorScalar (const Dev &sycl_device)
 
template<typename Dev >
void tensorTensor (const Dev &sycl_device)
 
template<typename Dev >
void tensorTensor_k (const Dev &sycl_device)
 
template<typename Dev >
void tensorTensor_m (const Dev &sycl_device)
 
template<typename Dev >
void tensorTensor_n (const Dev &sycl_device)
 
template<typename Dev >
void tensorTensor_sizes (const Dev &sycl_device)
 
template<typename Dev >
void tensorVector (const Dev &sycl_device)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
static void test_no_out_of_bounds (const Device &sycl_device, IndexType m_size, IndexType k_size, IndexType n_size)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_scalar (const Device &sycl_device, IndexType m_size, IndexType k_size, IndexType n_size)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
static void test_sycl_contraction (const Device &sycl_device, IndexType m_size, IndexType k_size, IndexType n_size)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_sycl_contraction_k (const Device &sycl_device)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_sycl_contraction_m (const Device &sycl_device)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_sycl_contraction_n (const Device &sycl_device)
 
template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_sycl_contraction_sizes (const Device &sycl_device)
 
template<typename Dev >
void vectorTensor (const Dev &sycl_device)
 
template<typename Dev >
void vectorVector (const Dev &sycl_device)
 

Macro Definition Documentation

◆ EIGEN_DEFAULT_DENSE_INDEX_TYPE

#define EIGEN_DEFAULT_DENSE_INDEX_TYPE   int64_t

Definition at line 17 of file cxx11_tensor_contract_sycl.cpp.

◆ EIGEN_TEST_NO_COMPLEX

#define EIGEN_TEST_NO_COMPLEX

Definition at line 15 of file cxx11_tensor_contract_sycl.cpp.

◆ EIGEN_TEST_NO_LONGDOUBLE

#define EIGEN_TEST_NO_LONGDOUBLE

Definition at line 14 of file cxx11_tensor_contract_sycl.cpp.

◆ EIGEN_USE_SYCL

#define EIGEN_USE_SYCL

Definition at line 18 of file cxx11_tensor_contract_sycl.cpp.

Function Documentation

◆ contraction_batch()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void contraction_batch ( const Device &  sycl_device,
IndexType  m_size,
IndexType  k_size,
IndexType  n_size,
IndexType  m_batch,
IndexType  start,
IndexType  limit 
)

Definition at line 320 of file cxx11_tensor_contract_sycl.cpp.

◆ contraction_both_transposed()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void contraction_both_transposed ( const Device &  sycl_device,
IndexType  m_size,
IndexType  k_size,
IndexType  n_size 
)

Definition at line 529 of file cxx11_tensor_contract_sycl.cpp.

◆ contraction_lhs_transposed()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void contraction_lhs_transposed ( const Device &  sycl_device,
IndexType  m_size,
IndexType  k_size,
IndexType  n_size 
)

Definition at line 463 of file cxx11_tensor_contract_sycl.cpp.

◆ contraction_rhs_transposed()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void contraction_rhs_transposed ( const Device &  sycl_device,
IndexType  m_size,
IndexType  k_size,
IndexType  n_size 
)

Definition at line 394 of file cxx11_tensor_contract_sycl.cpp.

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( cxx11_tensor_contract_sycl  )

Definition at line 1002 of file cxx11_tensor_contract_sycl.cpp.

◆ skinnyTensor_col()

template<typename Dev >
void skinnyTensor_col ( const Dev &  sycl_device)
inline

Definition at line 881 of file cxx11_tensor_contract_sycl.cpp.

◆ skinnyTensor_row()

template<typename Dev >
void skinnyTensor_row ( const Dev &  sycl_device)
inline

Definition at line 858 of file cxx11_tensor_contract_sycl.cpp.

◆ tensor_contraction_batch_per_device()

template<typename Dev >
void tensor_contraction_batch_per_device ( const Dev &  sycl_device)
inline

Definition at line 904 of file cxx11_tensor_contract_sycl.cpp.

◆ tensor_contraction_both_transposed_per_device()

template<typename Dev >
void tensor_contraction_both_transposed_per_device ( const Dev &  sycl_device)
inline

Definition at line 982 of file cxx11_tensor_contract_sycl.cpp.

◆ tensor_contraction_lhs_transposed_per_device()

template<typename Dev >
void tensor_contraction_lhs_transposed_per_device ( const Dev &  sycl_device)
inline

Definition at line 922 of file cxx11_tensor_contract_sycl.cpp.

◆ tensor_contraction_rhs_transposed_per_device()

template<typename Dev >
void tensor_contraction_rhs_transposed_per_device ( const Dev &  sycl_device)
inline

Definition at line 951 of file cxx11_tensor_contract_sycl.cpp.

◆ tensorOutofBound()

template<typename Dev >
void tensorOutofBound ( const Dev &  sycl_device)
inline

Definition at line 595 of file cxx11_tensor_contract_sycl.cpp.

◆ tensorScalar()

template<typename Dev >
void tensorScalar ( const Dev &  sycl_device)
inline

Definition at line 837 of file cxx11_tensor_contract_sycl.cpp.

◆ tensorTensor()

template<typename Dev >
void tensorTensor ( const Dev &  sycl_device)
inline

Definition at line 630 of file cxx11_tensor_contract_sycl.cpp.

◆ tensorTensor_k()

template<typename Dev >
void tensorTensor_k ( const Dev &  sycl_device)
inline

Definition at line 685 of file cxx11_tensor_contract_sycl.cpp.

◆ tensorTensor_m()

template<typename Dev >
void tensorTensor_m ( const Dev &  sycl_device)
inline

Definition at line 649 of file cxx11_tensor_contract_sycl.cpp.

◆ tensorTensor_n()

template<typename Dev >
void tensorTensor_n ( const Dev &  sycl_device)
inline

Definition at line 667 of file cxx11_tensor_contract_sycl.cpp.

◆ tensorTensor_sizes()

template<typename Dev >
void tensorTensor_sizes ( const Dev &  sycl_device)
inline

Definition at line 702 of file cxx11_tensor_contract_sycl.cpp.

◆ tensorVector()

template<typename Dev >
void tensorVector ( const Dev &  sycl_device)
inline

Definition at line 789 of file cxx11_tensor_contract_sycl.cpp.

◆ test_no_out_of_bounds()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
static void test_no_out_of_bounds ( const Device &  sycl_device,
IndexType  m_size,
IndexType  k_size,
IndexType  n_size 
)
static

Definition at line 154 of file cxx11_tensor_contract_sycl.cpp.

◆ test_scalar()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_scalar ( const Device &  sycl_device,
IndexType  m_size,
IndexType  k_size,
IndexType  n_size 
)

Definition at line 257 of file cxx11_tensor_contract_sycl.cpp.

◆ test_sycl_contraction()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
static void test_sycl_contraction ( const Device &  sycl_device,
IndexType  m_size,
IndexType  k_size,
IndexType  n_size 
)
static

Definition at line 36 of file cxx11_tensor_contract_sycl.cpp.

◆ test_sycl_contraction_k()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_sycl_contraction_k ( const Device &  sycl_device)

Definition at line 114 of file cxx11_tensor_contract_sycl.cpp.

◆ test_sycl_contraction_m()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_sycl_contraction_m ( const Device &  sycl_device)

Definition at line 105 of file cxx11_tensor_contract_sycl.cpp.

◆ test_sycl_contraction_n()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_sycl_contraction_n ( const Device &  sycl_device)

Definition at line 123 of file cxx11_tensor_contract_sycl.cpp.

◆ test_sycl_contraction_sizes()

template<int DataLayout, typename DataType , typename IndexType , typename Device >
void test_sycl_contraction_sizes ( const Device &  sycl_device)

Definition at line 132 of file cxx11_tensor_contract_sycl.cpp.

◆ vectorTensor()

template<typename Dev >
void vectorTensor ( const Dev &  sycl_device)
inline

Definition at line 747 of file cxx11_tensor_contract_sycl.cpp.

◆ vectorVector()

template<typename Dev >
void vectorVector ( const Dev &  sycl_device)
inline

Definition at line 719 of file cxx11_tensor_contract_sycl.cpp.



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