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

Benchmarks modified for new GPU constructs

This commit is contained in:
Peter Boyle
2019-06-15 12:52:56 +01:00
parent 0184719216
commit 0561c2edeb
6 changed files with 61 additions and 84 deletions

View File

@ -78,7 +78,7 @@ int main (int argc, char ** argv)
}
double start=usecond();
thread_loop( (int t=0;t<threads;t++),{
thread_for(t,threads,{
auto x_t = x[t].View();
sum[t] = x_t[0];
for(int i=0;i<Nloop;i++){