View location & access mode

This commit is contained in:
Peter Boyle committed 2020-05-21 16:13:59 -04:00
1 parent 7860a50f70
commit a7abda89e2
8 files changed
+47 -47

No files matched your search

+1 -1
View File
@@ -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);
}