diff --git a/benchmarks/Benchmark_zmm.cc b/benchmarks/Benchmark_zmm.cc index a82fb23c..12543c6d 100644 --- a/benchmarks/Benchmark_zmm.cc +++ b/benchmarks/Benchmark_zmm.cc @@ -41,7 +41,7 @@ int main(int argc,char **argv) std::ofstream os("zmm.dat"); os << "#V Ls Lxy Lzt C++ Asm OMP L1 " < grid({L,L,m*L,m*L}); @@ -127,7 +127,7 @@ int bench(std::ofstream &os, std::vector &latt4,int Ls) int dag=DaggerNo; t0=usecond(); for(int i=0;i<1;i++){ - Dw.DhopInternalOMPbench(Dw.StencilOdd,Dw.LebesgueEvenOdd,Dw.UmuEven,srce,junk,dag); + Dw.DhopInternalOMPbench(Dw.StencilEven,Dw.LebesgueEvenOdd,Dw.UmuOdd,srce,resulta,dag); } t1=usecond(); mfo = flops*100/(t1-t0); @@ -135,7 +135,7 @@ int bench(std::ofstream &os, std::vector &latt4,int Ls) t0=usecond(); for(int i=0;i<1;i++){ - Dw.DhopInternalL1bench(Dw.StencilOdd,Dw.LebesgueEvenOdd,Dw.UmuEven,srce,junk,dag); + Dw.DhopInternalL1bench(Dw.StencilEven,Dw.LebesgueEvenOdd,Dw.UmuOdd,srce,resulta,dag); } t1=usecond(); mfl1= flops*100/(t1-t0); @@ -147,6 +147,7 @@ int bench(std::ofstream &os, std::vector &latt4,int Ls) << mfo<<" " << mfl1< &latt4,int Ls) Counter.Stop(); Counter.Report(); } +#endif //resulta = (-0.5) * resulta; diff = resulto-resulta;