mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
performance(ocl): enable host usm alloc recycle
Enable at threshold of 2% system memory. Related-To: NEO-6893 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e9ba7479d6
commit
c1c9ac634b
@@ -77,6 +77,7 @@ Context::~Context() {
|
||||
if (svmAllocsManager) {
|
||||
this->stagingBufferManager.reset();
|
||||
svmAllocsManager->trimUSMDeviceAllocCache();
|
||||
svmAllocsManager->trimUSMHostAllocCache();
|
||||
delete svmAllocsManager;
|
||||
}
|
||||
if (driverDiagnostics) {
|
||||
|
||||
Reference in New Issue
Block a user