mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Evict USM cpu allocation after migration
Related-To: NEO-5007 Change-Id: I3c91af3ca22cb6233d530b252cc0c75d8fc2f8b5 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
6ae58249a1
commit
b81a78d0e9
@@ -36,5 +36,7 @@ void PageFaultManager::transferToGpu(void *ptr, void *device) {
|
||||
allocData->cpuAllocation,
|
||||
allocData->size, false);
|
||||
UNRECOVERABLE_IF(ret);
|
||||
|
||||
this->evictMemoryAfterImplCopy(allocData->cpuAllocation, deviceImp->getNEODevice());
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user