Revert "Move memory managers to L0::Context (1/N)"

This reverts commit 9ce887b8b53a787a7e0a0d808c96e295655ae57b.


Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2021-05-06 04:14:29 +00:00
committed by Compute-Runtime-Automation
parent 47529148ee
commit 5f0e4f8e2a
36 changed files with 472 additions and 565 deletions

View File

@@ -51,7 +51,7 @@ void *DriverHandleImp::importFdHandle(ze_device_handle_t hDevice, ze_ipc_memory_
}
ze_result_t DriverHandleImp::checkMemoryAccessFromDevice(Device *device, const void *ptr) {
auto allocation = this->getSvmAllocsManager()->getSVMAlloc(ptr);
auto allocation = svmAllocsManager->getSVMAlloc(ptr);
if (allocation == nullptr) {
return ZE_RESULT_ERROR_INVALID_ARGUMENT;
}