158 typedef blas_data_mapper<ResScalar, Index, ColMajor, Unaligned, ResInnerStride> ResMapper;
159 typedef blas_data_mapper<ResScalar, Index, ColMajor, Unaligned> BufferMapper;
160 ResMapper
res(res_, resStride, resIncr);
161 gebp_kernel<LhsScalar, RhsScalar, Index, ResMapper, mr, nr, ConjLhs, ConjRhs> gebp_kernel1;
162 gebp_kernel<LhsScalar, RhsScalar, Index, BufferMapper, mr, nr, ConjLhs, ConjRhs> gebp_kernel2;
164 Matrix<ResScalar, BlockSize, BlockSize, ColMajor> buffer;
170 const RhsScalar*
actual_b = blockB +
j * depth;
173 gebp_kernel1(
res.getSubMapper(0,
j), blockA,
actual_b,
j, depth, actualBlockSize,
alpha, -1, -1, 0, 0);
180 gebp_kernel2(BufferMapper(buffer.data(),
BlockSize), blockA + depth *
i,
actual_b, actualBlockSize, depth,
181 actualBlockSize,
alpha, -1, -1, 0, 0);
184 for (
Index j1 = 0; j1 < actualBlockSize; ++j1) {
185 typename ResMapper::LinearMapper
r =
res.getLinearMapper(
i,
j + j1);
186 for (
Index i1 = UpLo ==
Lower ? j1 : 0; UpLo ==
Lower ? i1 < actualBlockSize : i1 <= j1; ++i1)
187 r(i1) += buffer(i1, j1);
int i
Definition: BiCGSTAB_step_by_step.cpp:9
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
Definition: PartialRedux_count.cpp:3
Scalar Scalar int size
Definition: benchVecAdd.cpp:17
@ Lower
Definition: Constants.h:211
@ Upper
Definition: Constants.h:213
RealScalar alpha
Definition: level1_cplx_impl.h:151
if(code !=NOTR) std const Scalar * actual_b
Definition: level2_impl.h:67
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2