#include <TensorReductionSycl.h>
◆ Op
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
◆ OpDef
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
◆ ScratchAccessor
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
◆ SecondStepPartialReduction()
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE type get_op(Op &op)
Definition: TensorReductionSycl.h:41
OutputAccessor output_accessor
Definition: TensorReductionSycl.h:371
const Index num_coeffs_to_preserve
Definition: TensorReductionSycl.h:373
const Index num_coeffs_to_reduce
Definition: TensorReductionSycl.h:374
Op op
Definition: TensorReductionSycl.h:372
InputAccessor input_accessor
Definition: TensorReductionSycl.h:370
◆ operator()()
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
387 const Index globalId = itemID.get_global_id(0);
393 OutScalar accumulator =
op.initialize();
396 op.reduce(*in_ptr, &accumulator);
int i
Definition: BiCGSTAB_step_by_step.cpp:9
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
References i, Eigen::TensorSycl::internal::SecondStepPartialReduction< OutScalar, Index, InputAccessor, OutputAccessor, OpType >::input_accessor, Eigen::TensorSycl::internal::SecondStepPartialReduction< OutScalar, Index, InputAccessor, OutputAccessor, OpType >::num_coeffs_to_preserve, Eigen::TensorSycl::internal::SecondStepPartialReduction< OutScalar, Index, InputAccessor, OutputAccessor, OpType >::num_coeffs_to_reduce, Eigen::TensorSycl::internal::SecondStepPartialReduction< OutScalar, Index, InputAccessor, OutputAccessor, OpType >::op, and Eigen::TensorSycl::internal::SecondStepPartialReduction< OutScalar, Index, InputAccessor, OutputAccessor, OpType >::output_accessor.
◆ input_accessor
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
◆ num_coeffs_to_preserve
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
◆ num_coeffs_to_reduce
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
◆ op
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
◆ output_accessor
template<typename OutScalar , typename Index , typename InputAccessor , typename OutputAccessor , typename OpType >
The documentation for this struct was generated from the following file: