mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-16 12:33:18 +01:00
Memory manager update to drop cache
This commit is contained in:
1 parent
f367bc8bce
commit
43c6573ca4
3 files changed
+44
-1
No files matched your search
@@ -967,6 +967,9 @@ int main (int argc, char ** argv)
|
||||
// coarsening temporaries) goes back to host, so the solve's working set
|
||||
// starts from a clean device and the cap applies to it alone.
|
||||
MemoryManager::EvictAll();
|
||||
// ...and release the allocation caches' held blocks (setup-era deviceVector
|
||||
// scratch that is "free" to the caller but not to hipMalloc).
|
||||
MemoryManager::DropCache();
|
||||
MemoryManager::PrintBytes();
|
||||
acceleratorMem();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user