1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-13 01:05:36 +00:00

Use view mechanism

This commit is contained in:
Peter Boyle 2020-06-03 09:11:51 -04:00
parent 8cfd5d2639
commit 0c3112cd94

View File

@ -200,7 +200,7 @@ class CartesianStencilView : public CartesianStencilAccelerator<vobj,cobj,Parame
Deleter->mode = mode; Deleter->mode = mode;
this->_entries_p =(StencilEntry *) this->_entries_p =(StencilEntry *)
AllocationCache::ViewOpen(this->_entries_p, MemoryManager::ViewOpen(this->_entries_p,
this->_npoints*this->_osites*sizeof(StencilEntry), this->_npoints*this->_osites*sizeof(StencilEntry),
mode, mode,
AdviseDefault); AdviseDefault);