mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-14 22:07:05 +01:00
View location & access mode
This commit is contained in:
@ -177,7 +177,7 @@ int main (int argc, char ** argv)
|
||||
Real nn;
|
||||
double start=usecond();
|
||||
for(int i=0;i<Nloop;i++){
|
||||
auto x_v = x.View();
|
||||
auto x_v = x.View(CpuWrite);
|
||||
nn=norm2(x);
|
||||
vsplat(x_v[0]._internal[0],nn);
|
||||
}
|
||||
|
Reference in New Issue
Block a user