Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'multiply.h')
-rw-r--r--multiply.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/multiply.h b/multiply.h
index 0514bca..9047697 100644
--- a/multiply.h
+++ b/multiply.h
@@ -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); \
} \