TR-mbed 1.0
Loading...
Searching...
No Matches
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

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_)
 
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)
 
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)
 

Public Attributes

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

Static Public Attributes

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

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

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

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

◆ 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

◆ 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

◆ 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

◆ 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

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

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

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