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:
parent
b1c86900b2
commit
162e4bb567
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user