compute-runtime/shared/source/page_fault_manager
Jaime Arteaga d46bb59508 Migrate shared-allocations made resident with makeMemoryResident
Shared-allocations are currently migrated to GPU by the page-fault
manager when calling executeCommandLists. Allocations to migrate are
taken from the lists container. However, if a shared-allocation
has been made resident with zeContextMakeMemoryResident(), it is not
added to the list container, and hence it is not migrated to device.

So, add a container of resident allocations to the driver and migrate
them along with the other allocations.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-11 03:27:42 +01:00
..
linux Unprotect memory after migration to CPU 2020-10-14 11:14:32 +02:00
windows Windows includes cleanup 2020-11-09 14:35:38 +01:00
CMakeLists.txt Cmake format script 2020-08-19 16:36:30 +02:00
cpu_page_fault_manager.cpp Add initial placement hints for USM in OpenCL 2020-12-01 18:30:26 +01:00
cpu_page_fault_manager.h Migrate shared-allocations made resident with makeMemoryResident 2020-12-11 03:27:42 +01:00