Commit bdd5468c authored by Martin Reinecke's avatar Martin Reinecke
Browse files

cosmetics

parent 57745eea
Pipeline #77278 passed with stages
in 13 minutes
......@@ -558,8 +558,8 @@ template<typename T, typename T2=complex<T>> class Helper
nvecs((nexp+vlen-1)/vlen),
locks(locks_)
{
for (size_t i=0; i<64/vlen; ++i)
kernel.simd[i]=0;
MR_assert(2*supp+1<=64, "support too large");
for (auto &v: kernel.simd) v=0;
}
~Helper() { if (grid_w) dump(); }
......
......@@ -440,8 +440,8 @@ template<typename T> class Interpolator
} kdata;
T *wt(kdata.scalar), *wp(kdata.scalar+supp);
size_t nvec = (2*supp+vl-1)/vl;
for (size_t i=0; i<nvec; ++i)
kdata.simd[i] = 0;
for (auto &v: kdata.simd) v=0;
MR_assert(2*supp<=64, "support too large");
vector<T> psiarr(2*kmax+1);
#ifdef SIMD_INTERPOL
vector<native_simd<T>> psiarr2((2*kmax+1+vl-1)/vl);
......@@ -644,8 +644,8 @@ template<typename T> class Interpolator
} kdata;
T *wt(kdata.scalar), *wp(kdata.scalar+supp);
size_t nvec = (2*supp+vl-1)/vl;
for (size_t i=0; i<nvec; ++i)
kdata.simd[i] = 0;
for (auto &v: kdata.simd) v=0;
MR_assert(2*supp<=64, "support too large");
vector<T> psiarr(2*kmax+1);
#ifdef SIMD_INTERPOL
vector<native_simd<T>> psiarr2((2*kmax+1+vl-1)/vl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment