1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Hadrons: simpler A2A perf functions

This commit is contained in:
Antonin Portelli 2018-11-08 18:44:44 +00:00
parent 7cd9914f0e
commit 65349b07a7

View File

@ -196,8 +196,8 @@ public:
}
}
template <typename C, typename MatLeft, typename MatRight>
static inline double accTrMulFlops(C &acc, const MatLeft &a, const MatRight &b)
template <typename MatLeft, typename MatRight>
static inline double accTrMulFlops(const MatLeft &a, const MatRight &b)
{
double n = a.rows()*a.cols();
@ -263,7 +263,7 @@ public:
}
#endif
template <typename Mat>
static inline double mulFlops(Mat &res, const Mat &a, const Mat &b)
static inline double mulFlops(const Mat &a, const Mat &b)
{
double nr = a.rows(), nc = a.cols();