From b27e31957a91dcd9b2bfc04fcd6c16e675d13c89 Mon Sep 17 00:00:00 2001 From: nmeyer-ur Date: Fri, 3 Apr 2020 19:46:15 +0200 Subject: [PATCH] reduce acle revised --- Grid/simd/Grid_a64fx-2.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Grid/simd/Grid_a64fx-2.h b/Grid/simd/Grid_a64fx-2.h index 1f14c21f..b83135f6 100644 --- a/Grid/simd/Grid_a64fx-2.h +++ b/Grid/simd/Grid_a64fx-2.h @@ -772,7 +772,7 @@ struct Rotate{ }; // ======================================================================= -/* SVE ACLE reduce does not compile, check later +// SVE ACLE reduce does not compile, check later // tree-based reduction #define svred(pg, v)\ @@ -786,7 +786,7 @@ template struct Reduce{ //Need templated class to overload output type //General form must generate error if compiled - inline Out_type operator()(In_type &in){ + inline Out_type operator()(In_type in){ printf("Error, using wrong Reduce function\n"); exit(1); return 0; @@ -856,11 +856,11 @@ inline Integer Reduce::operator()(veci in){ } #undef svred -*/ + // ======================================================================= - +/* #define acc(v, a, off, step, n)\ for (unsigned int i = off; i < n; i += step)\ {\ @@ -931,7 +931,7 @@ inline Integer Reduce::operator()(veci in){ } #undef acc // EIGEN compatibility - +*/ NAMESPACE_END(Optimization)