Eigen::NoOpOutputKernel Struct Reference

Public Member Functions

template<typename Index , typename Scalar >
EIGEN_ALWAYS_INLINE void operator() (const internal::blas_data_mapper< Scalar, Index, ColMajor > &output_mapper, const TensorContractionParams &params, Index i, Index j, Index num_rows, Index num_cols) const
 

Detailed Description

Definition at line 295 of file TensorContraction.h.

Member Function Documentation

◆ operator()()

template<typename Index , typename Scalar >
EIGEN_ALWAYS_INLINE void Eigen::NoOpOutputKernel::operator() ( const internal::blas_data_mapper< Scalar, Index, ColMajor > &  output_mapper,
const TensorContractionParams params,
Index  i,
Index  j,
Index  num_rows,
Index  num_cols 
) const
inline

Tensor contraction evaluator calls this kernel after finishing each block of output matrix. Output blocks belong to the 2-dimensional output tensor.

TensorContractionParams contains contraction dimensions information required to map output 2-d space into the expected output tensor space (potentially higher dimensional).

Parameters
[in]output_mapperAccess to output tensor memory
[in]paramsTensor contraction parameters
[in]iIndex of a first row available through output_mapper
[in]jIndex of a first column available through output_mapper
[in]num_rowsNumber of available rows
[in]num_colsNumber of available columns

Definition at line 312 of file TensorContraction.h.

315  {
316  EIGEN_UNUSED_VARIABLE(output_mapper);
317  EIGEN_UNUSED_VARIABLE(params);
320  EIGEN_UNUSED_VARIABLE(num_rows);
321  EIGEN_UNUSED_VARIABLE(num_cols);
322  }
#define EIGEN_UNUSED_VARIABLE(var)

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