aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/tests
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-01-22 12:00:01 +0000
committerArne Juul <arnej@yahooinc.com>2023-01-22 12:00:01 +0000
commitd29f85adec4a26af5f6b7e96f6f6e21d00807115 (patch)
tree219a772d0fdf32e4a3c404c25df4813cf8145148 /eval/src/tests
parent471f8f32520dd8d2b327a9ac5cf06c558e9216ad (diff)
remove some whitespace at end of lines
Diffstat (limited to 'eval/src/tests')
-rw-r--r--eval/src/tests/ann/nns-l2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval/src/tests/ann/nns-l2.h b/eval/src/tests/ann/nns-l2.h
index 022542124aa..3b9fb6a81ab 100644
--- a/eval/src/tests/ann/nns-l2.h
+++ b/eval/src/tests/ann/nns-l2.h
@@ -7,7 +7,7 @@
template <typename T, size_t VLEN>
static double hw_l2_sq_dist(const T * af, const T * bf, size_t sz)
-{
+{
constexpr const size_t OpsPerV = VLEN/sizeof(T);
typedef T V __attribute__ ((vector_size (VLEN), aligned(VLEN)));
@@ -17,7 +17,7 @@ static double hw_l2_sq_dist(const T * af, const T * bf, size_t sz)
V tmp_diff;
V tmp_squa;
V tmp_sum;
- memset(&tmp_sum, 0, sizeof(tmp_sum));
+ memset(&tmp_sum, 0, sizeof(tmp_sum));
const size_t numOps = sz/OpsPerV;
for (size_t i = 0; i < numOps; ++i) {