Call OutputKernel in evalGemv

This commit is contained in:
Eugene Zhulenev 2018-07-12 14:52:23 -07:00
parent e204ecdaaf
commit 43206ac4de

View File

@ -549,6 +549,11 @@ struct TensorContractionEvaluatorBase
internal::general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,false,RhsScalar,RhsMapper,false>::run( internal::general_matrix_vector_product<Index,LhsScalar,LhsMapper,ColMajor,false,RhsScalar,RhsMapper,false>::run(
rows, cols, lhs, rhs, rows, cols, lhs, rhs,
buffer, resIncr, alpha); buffer, resIncr, alpha);
typedef internal::blas_data_mapper<Scalar, Index, ColMajor> OutputMapper;
m_output_kernel(OutputMapper(buffer, rows), m_tensor_contraction_params,
static_cast<Index>(0), static_cast<Index>(0), rows,
static_cast<Index>(1));
} }
template <bool lhs_inner_dim_contiguous, bool rhs_inner_dim_contiguous, bool rhs_inner_dim_reordered, int Alignment> template <bool lhs_inner_dim_contiguous, bool rhs_inner_dim_contiguous, bool rhs_inner_dim_reordered, int Alignment>