mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-10 11:26:56 +01:00
no automatic prefetching for now
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user