1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-14 22:07:05 +01:00

Hide internals

This commit is contained in:
paboyle
2018-01-26 23:08:27 +00:00
parent 32523a229c
commit 2a4a0e43c1
7 changed files with 30 additions and 30 deletions

View File

@ -261,8 +261,8 @@ public:
double start=usecond();
for(int i=0;i<Nloop;i++){
z=a*x-y;
x._odata[0]=z._odata[0]; // force serial dependency to prevent optimise away
y._odata[4]=z._odata[4];
x[0]=z[0]; // force serial dependency to prevent optimise away
y[4]=z[4];
}
double stop=usecond();
double time = (stop-start)/Nloop*1000;
@ -540,7 +540,7 @@ public:
std::vector<LatticeColourMatrix> U(4,FGrid);
for(int ss=0;ss<Umu._grid->oSites();ss++){
for(int s=0;s<Ls;s++){
Umu5d._odata[Ls*ss+s] = Umu._odata[ss];
Umu5d[Ls*ss+s] = Umu[ss];
}
}
ref = zero;