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 149 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 151 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 161 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 189 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 195 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 197 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 176 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 183 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 159 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 155 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 160 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 156 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 152 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 158 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 154 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 157 of file TensorScanSycl.h.


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


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