Eigen::TensorSycl::internal::SYCLAdjustBlockOffset< EvaluatorPointerType, CoeffReturnType, Reducer, Index > Struct Template Reference

#include <TensorScanSycl.h>

Static Public Member Functions

static EIGEN_STRONG_INLINE void adjust_scan_block_offset (EvaluatorPointerType in_ptr, EvaluatorPointerType out_ptr, Reducer &accumulator, const Index total_size, const Index scan_size, const Index panel_size, const Index non_scan_size, const Index scan_stride, const Index non_scan_stride, const Eigen::SyclDevice &dev)
 

Member Function Documentation

◆ adjust_scan_block_offset()

template<typename EvaluatorPointerType , typename CoeffReturnType , typename Reducer , typename Index >
static EIGEN_STRONG_INLINE void Eigen::TensorSycl::internal::SYCLAdjustBlockOffset< EvaluatorPointerType, CoeffReturnType, Reducer, Index >::adjust_scan_block_offset ( EvaluatorPointerType  in_ptr,
EvaluatorPointerType  out_ptr,
Reducer &  accumulator,
const Index  total_size,
const Index  scan_size,
const Index  panel_size,
const Index  non_scan_size,
const Index  scan_stride,
const Index  non_scan_stride,
const Eigen::SyclDevice &  dev 
)
inlinestatic
410  {
411  auto scan_info =
412  ScanInfo<Index>(total_size, scan_size, panel_size, non_scan_size, scan_stride, non_scan_stride, dev);
413 
414  typedef ScanAdjustmentKernelFunctor<CoeffReturnType, EvaluatorPointerType, EvaluatorPointerType, Reducer, Index>
415  AdjustFuctor;
416  dev.template unary_kernel_launcher<CoeffReturnType, AdjustFuctor>(in_ptr, out_ptr, scan_info.get_thread_range(),
417  scan_info.max_elements_per_block,
418  scan_info.get_scan_parameter(), accumulator)
419  .wait();
420  }

Referenced by Eigen::TensorSycl::internal::ScanLauncher_impl< CoeffReturnType, stp >::scan_block().


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