1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00: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> template <typename MatLeft, typename MatRight>
static inline double accTrMulFlops(C &acc, const MatLeft &a, const MatRight &b) static inline double accTrMulFlops(const MatLeft &a, const MatRight &b)
{ {
double n = a.rows()*a.cols(); double n = a.rows()*a.cols();
@ -263,7 +263,7 @@ public:
} }
#endif #endif
template <typename Mat> 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(); double nr = a.rows(), nc = a.cols();