Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp > Struct Template Reference

#include <TensorScanSycl.h>

Public Types

typedef cl::sycl::accessor< CoeffReturnType, 1, cl::sycl::access::mode::read_write, cl::sycl::access::target::local > LocalAccessor
 

Public Member Functions

template<scan_step sst = stp, typename InclusiveOp >
typename ::Eigen::internal::enable_if< sst==scan_step::first >::type EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE first_step_inclusive_Operation (InclusiveOp inclusive_op)
 
template<scan_step sst = stp, typename InclusiveOp >
typename ::Eigen::internal::enable_if< sst !=scan_step::first >::type EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE first_step_inclusive_Operation (InclusiveOp)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void operator() (cl::sycl::nd_item< 1 > itemID)
 
template<scan_step sst = stp, typename Input >
typename ::Eigen::internal::enable_if< sst==scan_step::first, CoeffReturnType >::type EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE read (const Input &inpt, Index global_id)
 
template<scan_step sst = stp, typename Input >
typename ::Eigen::internal::enable_if< sst !=scan_step::first, CoeffReturnType >::type EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE read (const Input &inpt, Index global_id)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScanKernelFunctor (LocalAccessor scratch_, const Evaluator dev_eval_, OutAccessor out_accessor_, OutAccessor temp_accessor_, const ScanParameters< Index > scanParameters_, Op accumulator_, const bool inclusive_)
 

Public Attributes

Op accumulator
 
Evaluator dev_eval
 
const bool inclusive
 
OutAccessor out_accessor
 
const ScanParameters< IndexscanParameters
 
LocalAccessor scratch
 
OutAccessor temp_accessor
 

Static Public Attributes

static EIGEN_CONSTEXPR int PacketSize = ScanParameters<Index>::ScanPerThread / 2
 

Detailed Description

template<typename Evaluator, typename CoeffReturnType, typename OutAccessor, typename Op, typename Index, scan_step stp>
struct Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >

Definition at line 83 of file TensorScanSycl.h.

Member Typedef Documentation

◆ LocalAccessor

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
typedef cl::sycl::accessor<CoeffReturnType, 1, cl::sycl::access::mode::read_write, cl::sycl::access::target::local> Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::LocalAccessor

Definition at line 85 of file TensorScanSycl.h.

Constructor & Destructor Documentation

◆ ScanKernelFunctor()

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::ScanKernelFunctor ( LocalAccessor  scratch_,
const Evaluator  dev_eval_,
OutAccessor  out_accessor_,
OutAccessor  temp_accessor_,
const ScanParameters< Index scanParameters_,
Op  accumulator_,
const bool  inclusive_ 
)
inline

Definition at line 95 of file TensorScanSycl.h.

Member Function Documentation

◆ first_step_inclusive_Operation() [1/2]

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
template<scan_step sst = stp, typename InclusiveOp >
typename ::Eigen::internal::enable_if<sst == scan_step::first>::type EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::first_step_inclusive_Operation ( InclusiveOp  inclusive_op)
inline

Definition at line 123 of file TensorScanSycl.h.

◆ first_step_inclusive_Operation() [2/2]

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
template<scan_step sst = stp, typename InclusiveOp >
typename ::Eigen::internal::enable_if<sst != scan_step::first>::type EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::first_step_inclusive_Operation ( InclusiveOp  )
inline

Definition at line 129 of file TensorScanSycl.h.

◆ operator()()

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::operator() ( cl::sycl::nd_item< 1 >  itemID)
inline

Definition at line 131 of file TensorScanSycl.h.

◆ read() [1/2]

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
template<scan_step sst = stp, typename Input >
typename ::Eigen::internal::enable_if<sst == scan_step::first, CoeffReturnType>::type EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::read ( const Input &  inpt,
Index  global_id 
)
inline

Definition at line 110 of file TensorScanSycl.h.

◆ read() [2/2]

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
template<scan_step sst = stp, typename Input >
typename ::Eigen::internal::enable_if<sst != scan_step::first, CoeffReturnType>::type EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::read ( const Input &  inpt,
Index  global_id 
)
inline

Definition at line 117 of file TensorScanSycl.h.

Member Data Documentation

◆ accumulator

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
Op Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::accumulator

Definition at line 93 of file TensorScanSycl.h.

◆ dev_eval

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
Evaluator Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::dev_eval

Definition at line 89 of file TensorScanSycl.h.

◆ inclusive

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
const bool Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::inclusive

Definition at line 94 of file TensorScanSycl.h.

◆ out_accessor

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
OutAccessor Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::out_accessor

Definition at line 90 of file TensorScanSycl.h.

◆ PacketSize

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
EIGEN_CONSTEXPR int Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::PacketSize = ScanParameters<Index>::ScanPerThread / 2
static

Definition at line 86 of file TensorScanSycl.h.

◆ scanParameters

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
const ScanParameters<Index> Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::scanParameters

Definition at line 92 of file TensorScanSycl.h.

◆ scratch

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
LocalAccessor Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::scratch

Definition at line 88 of file TensorScanSycl.h.

◆ temp_accessor

template<typename Evaluator , typename CoeffReturnType , typename OutAccessor , typename Op , typename Index , scan_step stp>
OutAccessor Eigen::TensorSycl::internal::ScanKernelFunctor< Evaluator, CoeffReturnType, OutAccessor, Op, Index, stp >::temp_accessor

Definition at line 91 of file TensorScanSycl.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:46:12