diff options
Diffstat (limited to 'multiply.h')
-rw-r--r-- | multiply.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -665,8 +665,8 @@ target static inline float MaxAbsolute(const float *begin_float, const float *en return ret; \ } \ -#define INTGEMM_EUCLIDEANNORM(Register, target) \ -target static inline MeanStd EuclideanNorm(const float *begin_float, const float *end_float, bool absolute) { \ +#define INTGEMM_VECTORMEANSTD(Register, target) \ +target static inline MeanStd VectorMeanStd(const float *begin_float, const float *end_float, bool absolute) { \ /* Computes the euclidean norm and returns the mean and the standard deviation. Optionally it can be the mean and standard deviation in absolute terms. */ \ assert(end_float > begin_float); \ assert((end_float - begin_float) % (sizeof(Register) / sizeof(float)) == 0); \ @@ -679,7 +679,7 @@ target static inline MeanStd EuclideanNorm(const float *begin_float, const float const Register mask = set1_ps<Register>(-0.f); \ for (; begin != end; begin++) { \ Register vec = *begin; \ - vec = andnot_ps(mask, vec); \ + vec = andnot_ps(mask, vec); \ squares = add_ps(squares, mul_ps(vec, vec)); \ sums = add_ps(sums, vec); \ } \ |