Static Public Attributes | List of all members
Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor > Struct Template Reference

TVPanelSize, a template class used for setting the panel size required for launching General TensorVector contraction kernel on various hardware devices. More...

#include <TensorContractionSycl.h>

Static Public Attributes

static EIGEN_CONSTEXPR bool BC = false
 
static EIGEN_CONSTEXPR StorageIndex LocalThreadSizeC = EIGEN_SYCL_LOCAL_THREAD_DIM0
 
static EIGEN_CONSTEXPR StorageIndex LocalThreadSizeNC = EIGEN_SYCL_LOCAL_THREAD_DIM1
 
static EIGEN_CONSTEXPR StorageIndex TileSizeDimC = CFactor * LocalThreadSizeNC * LocalThreadSizeC
 
static EIGEN_CONSTEXPR StorageIndex TileSizeDimNC = NCWindow / NCFactor
 
static EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadC = TileSizeDimC / LocalThreadSizeC
 
static EIGEN_CONSTEXPR StorageIndex WorkLoadPerThreadNC = TileSizeDimNC / LocalThreadSizeNC
 

Detailed Description

template<typename Scalar, typename StorageIndex, StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
struct Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor >

TVPanelSize, a template class used for setting the panel size required for launching General TensorVector contraction kernel on various hardware devices.

Template Parameters
Scalardetermines the element type of the tensor/vector
StorageIndexdetermines the Index type.
NCWindowdetermines the number of non-contracting element to be process by each work-group
CFactordetermines the number of contracting element to be process by each thread
NCFactordetermines the number of non-contracting element to be process by each thread

Definition at line 61 of file TensorContractionSycl.h.

Member Data Documentation

◆ BC

template<typename Scalar , typename StorageIndex , StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
EIGEN_CONSTEXPR bool Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor >::BC = false
static

Definition at line 81 of file TensorContractionSycl.h.

◆ LocalThreadSizeC

template<typename Scalar , typename StorageIndex , StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
EIGEN_CONSTEXPR StorageIndex Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor >::LocalThreadSizeC = EIGEN_SYCL_LOCAL_THREAD_DIM0
static

Definition at line 69 of file TensorContractionSycl.h.

◆ LocalThreadSizeNC

template<typename Scalar , typename StorageIndex , StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
EIGEN_CONSTEXPR StorageIndex Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor >::LocalThreadSizeNC = EIGEN_SYCL_LOCAL_THREAD_DIM1
static

Definition at line 71 of file TensorContractionSycl.h.

◆ TileSizeDimC

template<typename Scalar , typename StorageIndex , StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
EIGEN_CONSTEXPR StorageIndex Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor >::TileSizeDimC = CFactor * LocalThreadSizeNC * LocalThreadSizeC
static

Definition at line 75 of file TensorContractionSycl.h.

◆ TileSizeDimNC

template<typename Scalar , typename StorageIndex , StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
EIGEN_CONSTEXPR StorageIndex Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor >::TileSizeDimNC = NCWindow / NCFactor
static

Definition at line 73 of file TensorContractionSycl.h.

◆ WorkLoadPerThreadC

template<typename Scalar , typename StorageIndex , StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
EIGEN_CONSTEXPR StorageIndex Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor >::WorkLoadPerThreadC = TileSizeDimC / LocalThreadSizeC
static

Definition at line 79 of file TensorContractionSycl.h.

◆ WorkLoadPerThreadNC

template<typename Scalar , typename StorageIndex , StorageIndex NCWindow, StorageIndex CFactor, StorageIndex NCFactor>
EIGEN_CONSTEXPR StorageIndex Eigen::TensorSycl::internal::TVPanelSize< Scalar, StorageIndex, NCWindow, CFactor, NCFactor >::WorkLoadPerThreadNC = TileSizeDimNC / LocalThreadSizeNC
static

Definition at line 77 of file TensorContractionSycl.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:15:06