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

@ -80,10 +80,10 @@ int main (int argc, char ** argv)
double start=usecond();
parallel_for(int t=0;t<threads;t++){
sum[t] = x[t]._odata[0];
sum[t] = x[t][0];
for(int i=0;i<Nloop;i++){
for(auto ss=x[t].begin();ss<x[t].end();ss++){
sum[t] = sum[t]+x[t]._odata[ss];
sum[t] = sum[t]+x[t][ss];
}
}
stop[t]=usecond();