1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

no automatic prefetching for now

This commit is contained in:
Christoph Lehner 2020-05-12 07:01:23 -04:00
parent b1c86900b2
commit 162e4bb567

View File

@ -267,14 +267,14 @@ public:
LatticeView<vobj> AcceleratorView(int mode = ViewReadWrite) const
{
LatticeView<vobj> accessor(*( (LatticeAccelerator<vobj> *) this));
accessor.AcceleratorPrefetch(mode);
//accessor.AcceleratorPrefetch(mode);
return accessor;
}
LatticeView<vobj> HostView(int mode = ViewReadWrite) const
{
LatticeView<vobj> accessor(*( (LatticeAccelerator<vobj> *) this));
accessor.HostPrefetch(mode);
//accessor.HostPrefetch(mode);
return accessor;
}