diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProduct.h b/Eigen/src/Core/arch/AltiVec/MatrixProduct.h index e31213ee7..472552610 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProduct.h @@ -290,7 +290,7 @@ EIGEN_STRONG_INLINE void symm_pack_lhs_helper(Scalar* blockA, const Scalar* _lhs template struct symm_pack_rhs, Index, nr, StorageOrder> { void operator()(std::complex* blockB, const std::complex* _rhs, Index rhsStride, Index rows, Index cols, - Index k2) const { + Index k2) { symm_pack_complex_rhs_helper(blockB, _rhs, rhsStride, rows, cols, k2); } }; @@ -298,7 +298,7 @@ struct symm_pack_rhs, Index, nr, StorageOrder> { template struct symm_pack_lhs, Index, Pack1, Pack2_dummy, StorageOrder> { void operator()(std::complex* blockA, const std::complex* _lhs, Index lhsStride, Index cols, - Index rows) const { + Index rows) { symm_pack_complex_lhs_helper(blockA, _lhs, lhsStride, cols, rows); } }; @@ -308,7 +308,7 @@ struct symm_pack_lhs, Index, Pack1, Pack2_dummy, StorageOrde template struct symm_pack_rhs, Index, nr, StorageOrder> { void operator()(std::complex* blockB, const std::complex* _rhs, Index rhsStride, Index rows, - Index cols, Index k2) const { + Index cols, Index k2) { symm_pack_complex_rhs_helper(blockB, _rhs, rhsStride, rows, cols, k2); } }; @@ -316,7 +316,7 @@ struct symm_pack_rhs, Index, nr, StorageOrder> { template struct symm_pack_lhs, Index, Pack1, Pack2_dummy, StorageOrder> { void operator()(std::complex* blockA, const std::complex* _lhs, Index lhsStride, Index cols, - Index rows) const { + Index rows) { symm_pack_complex_lhs_helper(blockA, _lhs, lhsStride, cols, rows); } }; @@ -324,14 +324,14 @@ struct symm_pack_lhs, Index, Pack1, Pack2_dummy, StorageOrd // *********** symm_pack float32 *********** template struct symm_pack_rhs { - void operator()(float* blockB, const float* _rhs, Index rhsStride, Index rows, Index cols, Index k2) const { + void operator()(float* blockB, const float* _rhs, Index rhsStride, Index rows, Index cols, Index k2) { symm_pack_rhs_helper(blockB, _rhs, rhsStride, rows, cols, k2); } }; template struct symm_pack_lhs { - void operator()(float* blockA, const float* _lhs, Index lhsStride, Index cols, Index rows) const { + void operator()(float* blockA, const float* _lhs, Index lhsStride, Index cols, Index rows) { symm_pack_lhs_helper(blockA, _lhs, lhsStride, cols, rows); } }; @@ -339,14 +339,14 @@ struct symm_pack_lhs { // *********** symm_pack float64 *********** template struct symm_pack_rhs { - void operator()(double* blockB, const double* _rhs, Index rhsStride, Index rows, Index cols, Index k2) const { + void operator()(double* blockB, const double* _rhs, Index rhsStride, Index rows, Index cols, Index k2) { symm_pack_rhs_helper(blockB, _rhs, rhsStride, rows, cols, k2); } }; template struct symm_pack_lhs { - void operator()(double* blockA, const double* _lhs, Index lhsStride, Index cols, Index rows) const { + void operator()(double* blockA, const double* _lhs, Index lhsStride, Index cols, Index rows) { symm_pack_lhs_helper(blockA, _lhs, lhsStride, cols, rows); } }; @@ -381,7 +381,7 @@ template EIGEN_ALWAYS_INLINE void dhs_cblock(PacketBlock& cblock, PacketBlock& block, - Packet16uc permute) const { + Packet16uc permute) { if (transpose) { block.packet[0] = vec_perm(cblock.packet[0].v, cblock.packet[1].v, permute); block.packet[1] = vec_perm(cblock.packet[2].v, cblock.packet[3].v, permute); @@ -453,7 +453,7 @@ struct dhs_cpack { } EIGEN_STRONG_INLINE void operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, - Index stride, Index offset) const { + Index stride, Index offset) { const Index vectorSize = quad_traits::vectorsize; const Index vectorDelta = vectorSize * ((PanelMode) ? stride : depth); Index rir = ((PanelMode) ? (vectorSize * offset) : 0), rii; @@ -557,7 +557,7 @@ template EIGEN_ALWAYS_INLINE void dhs_copy(Scalar* blockA, const DataMapper& lhs2, Index& i, Index& ri, Index depth, - const Index vectorSize) const { + const Index vectorSize) { PacketBlock block[n]; for (; i + n * vectorSize <= depth; i += n * vectorSize) { @@ -584,7 +584,7 @@ struct dhs_pack { } EIGEN_STRONG_INLINE void operator()(Scalar* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, - Index offset) const { + Index offset) { const Index vectorSize = quad_traits::vectorsize; Index ri = 0, j = 0; @@ -660,7 +660,7 @@ template struct dhs_pack { template EIGEN_ALWAYS_INLINE void dhs_copy(double* blockA, const DataMapper& lhs2, Index& i, Index& ri, Index depth, - const Index vectorSize) const { + const Index vectorSize) { PacketBlock block[n]; for (; i + n * vectorSize <= depth; i += n * vectorSize) { @@ -689,7 +689,7 @@ struct dhs_pack { } EIGEN_STRONG_INLINE void operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, - Index offset) const { + Index offset) { const Index vectorSize = quad_traits::vectorsize; Index ri = 0, j = 0; @@ -737,7 +737,7 @@ template struct dhs_pack { template EIGEN_ALWAYS_INLINE void dhs_copy(double* blockB, const DataMapper& rhs2, Index& i, Index& ri, Index depth, - const Index vectorSize) const { + const Index vectorSize) { PacketBlock block1[n], block2[n]; PacketBlock block3[n]; @@ -779,7 +779,7 @@ struct dhs_pack { } EIGEN_STRONG_INLINE void operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, - Index offset) const { + Index offset) { const Index vectorSize = quad_traits::vectorsize; Index ri = 0, j = 0; @@ -835,7 +835,7 @@ struct dhs_pack { template struct dhs_pack { EIGEN_STRONG_INLINE void operator()(bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, - Index offset) const { + Index offset) { const Index vectorSize = quad_traits::vectorsize; Index ri = 0, j = 0; @@ -1178,7 +1178,7 @@ struct dhs_pack template struct dhs_pack { EIGEN_STRONG_INLINE void operator()(bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, - Index offset) const { + Index offset) { const Index vectorSize = quad_traits::vectorsize; Index ri = 0, j = 0; @@ -1350,7 +1350,7 @@ struct dhs_cpack* blockA, const DataMapper& lhs, Index depth, Index rows, - Index stride, Index offset) const { + Index stride, Index offset) { const Index vectorSize = quad_traits::vectorsize; const Index vectorDelta = vectorSize * ((PanelMode) ? stride : depth); Index rir = ((PanelMode) ? (vectorSize * offset) : 0), rii; @@ -1442,7 +1442,7 @@ struct dhs_cpack* blockB, const DataMapper& rhs, Index depth, Index cols, - Index stride, Index offset) const { + Index stride, Index offset) { const Index vectorSize = quad_traits::vectorsize; const Index vectorDelta = 2 * vectorSize * ((PanelMode) ? stride : depth); Index rir = ((PanelMode) ? (2 * vectorSize * offset) : 0), rii; @@ -3162,26 +3162,24 @@ void gemmbfloat16(const DataMapper& res, const bfloat16* indexA, const bfloat16* * **********************************/ template struct gemm_pack_lhs { - void operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + void operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, Index offset = 0); }; template void gemm_pack_lhs::operator()( - double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) const { + double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) { dhs_pack pack; pack(blockA, lhs, depth, rows, stride, offset); } template struct gemm_pack_lhs { - void operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + void operator()(double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, Index offset = 0); }; template void gemm_pack_lhs::operator()( - double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) const { + double* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) { dhs_pack pack; pack(blockA, lhs, depth, rows, stride, offset); } @@ -3189,52 +3187,48 @@ void gemm_pack_lhs struct gemm_pack_rhs { - void operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + void operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, Index offset = 0); }; template void gemm_pack_rhs::operator()( - double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_pack pack; pack(blockB, rhs, depth, cols, stride, offset); } template struct gemm_pack_rhs { - void operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + void operator()(double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, Index offset = 0); }; template void gemm_pack_rhs::operator()( - double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + double* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_pack pack; pack(blockB, rhs, depth, cols, stride, offset); } template struct gemm_pack_rhs { - void operator()(bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + void operator()(bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, Index offset = 0); }; template void gemm_pack_rhs::operator()( - bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_pack pack; pack(blockB, rhs, depth, cols, stride, offset); } template struct gemm_pack_rhs { - void operator()(bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + void operator()(bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, Index offset = 0); }; template void gemm_pack_rhs::operator()( - bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + bfloat16* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_pack pack; pack(blockB, rhs, depth, cols, stride, offset); } @@ -3242,52 +3236,48 @@ void gemm_pack_rhs struct gemm_pack_lhs { - void operator()(bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + void operator()(bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, Index offset = 0); }; template void gemm_pack_lhs::operator()( - bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) const { + bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) { dhs_pack pack; pack(blockA, lhs, depth, rows, stride, offset); } template struct gemm_pack_lhs { - void operator()(bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + void operator()(bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, Index offset = 0); }; template void gemm_pack_lhs::operator()( - bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) const { + bfloat16* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) { dhs_pack pack; pack(blockA, lhs, depth, rows, stride, offset); } template struct gemm_pack_lhs { - void operator()(float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + void operator()(float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, Index offset = 0); }; template void gemm_pack_lhs::operator()( - float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) const { + float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) { dhs_pack pack; pack(blockA, lhs, depth, rows, stride, offset); } template struct gemm_pack_lhs { - void operator()(float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + void operator()(float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, Index offset = 0); }; template void gemm_pack_lhs::operator()( - float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) const { + float* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride, Index offset) { dhs_pack pack; pack(blockA, lhs, depth, rows, stride, offset); } @@ -3295,13 +3285,13 @@ void gemm_pack_lhs struct gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode> { void operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + Index offset = 0); }; template void gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>::operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, - Index stride, Index offset) const { + Index stride, Index offset) { dhs_cpack pack; pack(blockA, lhs, depth, rows, stride, offset); } @@ -3309,13 +3299,13 @@ void gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, template struct gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode> { void operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + Index offset = 0); }; template void gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>::operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, - Index stride, Index offset) const { + Index stride, Index offset) { dhs_cpack pack; pack(blockA, lhs, depth, rows, stride, offset); } @@ -3323,26 +3313,24 @@ void gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, #if EIGEN_ALTIVEC_USE_CUSTOM_PACK template struct gemm_pack_rhs { - void operator()(float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + void operator()(float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, Index offset = 0); }; template void gemm_pack_rhs::operator()( - float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_pack pack; pack(blockB, rhs, depth, cols, stride, offset); } template struct gemm_pack_rhs { - void operator()(float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + void operator()(float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, Index offset = 0); }; template void gemm_pack_rhs::operator()( - float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + float* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_pack pack; pack(blockB, rhs, depth, cols, stride, offset); } @@ -3351,12 +3339,12 @@ void gemm_pack_rhs template struct gemm_pack_rhs, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode> { void operator()(std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + Index offset = 0); }; template void gemm_pack_rhs, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>::operator()( - std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_cpack pack; pack(blockB, rhs, depth, cols, stride, offset); } @@ -3364,12 +3352,12 @@ void gemm_pack_rhs, Index, DataMapper, nr, ColMajor, Conjuga template struct gemm_pack_rhs, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode> { void operator()(std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + Index offset = 0); }; template void gemm_pack_rhs, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>::operator()( - std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_cpack pack; pack(blockB, rhs, depth, cols, stride, offset); } @@ -3377,13 +3365,13 @@ void gemm_pack_rhs, Index, DataMapper, nr, RowMajor, Conjuga template struct gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode> { void operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + Index offset = 0); }; template void gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, RowMajor, Conjugate, PanelMode>::operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, - Index stride, Index offset) const { + Index stride, Index offset) { dhs_cpack pack; pack(blockA, lhs, depth, rows, stride, offset); } @@ -3391,13 +3379,13 @@ void gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet template struct gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode> { void operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, Index stride = 0, - Index offset = 0) const; + Index offset = 0); }; template void gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet, ColMajor, Conjugate, PanelMode>::operator()(std::complex* blockA, const DataMapper& lhs, Index depth, Index rows, - Index stride, Index offset) const { + Index stride, Index offset) { dhs_cpack pack; pack(blockA, lhs, depth, rows, stride, offset); } @@ -3405,12 +3393,12 @@ void gemm_pack_lhs, Index, DataMapper, Pack1, Pack2, Packet template struct gemm_pack_rhs, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode> { void operator()(std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + Index offset = 0); }; template void gemm_pack_rhs, Index, DataMapper, nr, ColMajor, Conjugate, PanelMode>::operator()( - std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_cpack pack; pack(blockB, rhs, depth, cols, stride, offset); } @@ -3418,12 +3406,12 @@ void gemm_pack_rhs, Index, DataMapper, nr, ColMajor, Conjug template struct gemm_pack_rhs, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode> { void operator()(std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride = 0, - Index offset = 0) const; + Index offset = 0); }; template void gemm_pack_rhs, Index, DataMapper, nr, RowMajor, Conjugate, PanelMode>::operator()( - std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) const { + std::complex* blockB, const DataMapper& rhs, Index depth, Index cols, Index stride, Index offset) { dhs_cpack pack; pack(blockB, rhs, depth, cols, stride, offset); } @@ -3435,13 +3423,13 @@ struct gebp_kernel::rhstype RhsPacket; void operator()(const DataMapper& res, const float* blockA, const float* blockB, Index rows, Index depth, Index cols, - float alpha, Index strideA = -1, Index strideB = -1, Index offsetA = 0, Index offsetB = 0) const; + float alpha, Index strideA = -1, Index strideB = -1, Index offsetA = 0, Index offsetB = 0); }; template void gebp_kernel::operator()( const DataMapper& res, const float* blockA, const float* blockB, Index rows, Index depth, Index cols, float alpha, - Index strideA, Index strideB, Index offsetA, Index offsetB) const { + Index strideA, Index strideB, Index offsetA, Index offsetB) { const Index accRows = quad_traits::rows; const Index accCols = quad_traits::size; static void (*gemm_function)(const DataMapper&, const float*, const float*, Index, Index, Index, float, Index, Index, @@ -3461,7 +3449,7 @@ struct gebp_kernel, std::complex, Index, DataMapper, void operator()(const DataMapper& res, const std::complex* blockA, const std::complex* blockB, Index rows, Index depth, Index cols, std::complex alpha, Index strideA = -1, - Index strideB = -1, Index offsetA = 0, Index offsetB = 0) const; + Index strideB = -1, Index offsetA = 0, Index offsetB = 0); }; template @@ -3469,7 +3457,7 @@ void gebp_kernel, std::complex, Index, DataMapper, mr ConjugateRhs>::operator()(const DataMapper& res, const std::complex* blockA, const std::complex* blockB, Index rows, Index depth, Index cols, std::complex alpha, Index strideA, Index strideB, Index offsetA, - Index offsetB) const { + Index offsetB) { const Index accRows = quad_traits::rows; const Index accCols = quad_traits::size; static void (*gemm_function)(const DataMapper&, const std::complex*, const std::complex*, Index, Index, @@ -3494,13 +3482,13 @@ struct gebp_kernel, Index, DataMapper, mr, nr, Conjug void operator()(const DataMapper& res, const float* blockA, const std::complex* blockB, Index rows, Index depth, Index cols, std::complex alpha, Index strideA = -1, Index strideB = -1, - Index offsetA = 0, Index offsetB = 0) const; + Index offsetA = 0, Index offsetB = 0); }; template void gebp_kernel, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>::operator()( const DataMapper& res, const float* blockA, const std::complex* blockB, Index rows, Index depth, Index cols, - std::complex alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) const { + std::complex alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) { const Index accRows = quad_traits::rows; const Index accCols = quad_traits::size; static void (*gemm_function)(const DataMapper&, const float*, const std::complex*, Index, Index, Index, @@ -3525,13 +3513,13 @@ struct gebp_kernel, float, Index, DataMapper, mr, nr, Conjug void operator()(const DataMapper& res, const std::complex* blockA, const float* blockB, Index rows, Index depth, Index cols, std::complex alpha, Index strideA = -1, Index strideB = -1, - Index offsetA = 0, Index offsetB = 0) const; + Index offsetA = 0, Index offsetB = 0); }; template void gebp_kernel, float, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>::operator()( const DataMapper& res, const std::complex* blockA, const float* blockB, Index rows, Index depth, Index cols, - std::complex alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) const { + std::complex alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) { const Index accRows = quad_traits::rows; const Index accCols = quad_traits::size; static void (*gemm_function)(const DataMapper&, const std::complex*, const float*, Index, Index, Index, @@ -3555,13 +3543,13 @@ struct gebp_kernel void gebp_kernel::operator()( const DataMapper& res, const double* blockA, const double* blockB, Index rows, Index depth, Index cols, - double alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) const { + double alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) { const Index accRows = quad_traits::rows; const Index accCols = quad_traits::size; static void (*gemm_function)(const DataMapper&, const double*, const double*, Index, Index, Index, double, Index, @@ -3581,7 +3569,7 @@ struct gebp_kernel, std::complex, Index, DataMapper void operator()(const DataMapper& res, const std::complex* blockA, const std::complex* blockB, Index rows, Index depth, Index cols, std::complex alpha, Index strideA = -1, - Index strideB = -1, Index offsetA = 0, Index offsetB = 0) const; + Index strideB = -1, Index offsetA = 0, Index offsetB = 0); }; template @@ -3589,7 +3577,7 @@ void gebp_kernel, std::complex, Index, DataMapper, ConjugateRhs>::operator()(const DataMapper& res, const std::complex* blockA, const std::complex* blockB, Index rows, Index depth, Index cols, std::complex alpha, Index strideA, Index strideB, Index offsetA, - Index offsetB) const { + Index offsetB) { const Index accRows = quad_traits::rows; const Index accCols = quad_traits::size; static void (*gemm_function)(const DataMapper&, const std::complex*, const std::complex*, Index, @@ -3615,13 +3603,13 @@ struct gebp_kernel, double, Index, DataMapper, mr, nr, Conj void operator()(const DataMapper& res, const std::complex* blockA, const double* blockB, Index rows, Index depth, Index cols, std::complex alpha, Index strideA = -1, Index strideB = -1, - Index offsetA = 0, Index offsetB = 0) const; + Index offsetA = 0, Index offsetB = 0); }; template void gebp_kernel, double, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>::operator()( const DataMapper& res, const std::complex* blockA, const double* blockB, Index rows, Index depth, - Index cols, std::complex alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) const { + Index cols, std::complex alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) { const Index accRows = quad_traits::rows; const Index accCols = quad_traits::size; static void (*gemm_function)(const DataMapper&, const std::complex*, const double*, Index, Index, Index, @@ -3646,13 +3634,13 @@ struct gebp_kernel, Index, DataMapper, mr, nr, Conj void operator()(const DataMapper& res, const double* blockA, const std::complex* blockB, Index rows, Index depth, Index cols, std::complex alpha, Index strideA = -1, Index strideB = -1, - Index offsetA = 0, Index offsetB = 0) const; + Index offsetA = 0, Index offsetB = 0); }; template void gebp_kernel, Index, DataMapper, mr, nr, ConjugateLhs, ConjugateRhs>::operator()( const DataMapper& res, const double* blockA, const std::complex* blockB, Index rows, Index depth, - Index cols, std::complex alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) const { + Index cols, std::complex alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) { const Index accRows = quad_traits::rows; const Index accCols = quad_traits::size; static void (*gemm_function)(const DataMapper&, const double*, const std::complex*, Index, Index, Index, @@ -3676,13 +3664,13 @@ struct gebp_kernel void gebp_kernel::operator()( const DataMapper& res, const bfloat16* blockA, const bfloat16* blockB, Index rows, Index depth, Index cols, - bfloat16 alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) const { + bfloat16 alpha, Index strideA, Index strideB, Index offsetA, Index offsetB) { static void (*gemm_function)(const DataMapper&, const bfloat16*, const bfloat16*, Index, Index, Index, bfloat16, Index, Index, Index, Index) = #ifdef EIGEN_MATRIX_PRODUCT_MMA_ALTIVEC_H