mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
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>