mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
Have makeResident return error to the caller, instead of always SUCCESS. This will allow interfaces like zeContextMakeMemoryResident to fail properly. Additionally, change the parsing of MemoryOperationsStatus from ZE_RESULT_ERROR_OUT_OF_HOST_MEMORY to ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY, since when making resources resident, it is the device running out of memory, instead of the host. Related-To: LOCI-4443 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>