Correctly pass descriptors to L0 shared alloc function

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2020-11-10 17:23:14 -08:00
committed by Compute-Runtime-Automation
parent 9473abc86a
commit 3f6d1f5ee9
11 changed files with 51 additions and 32 deletions

View File

@ -17,7 +17,7 @@ zeMemAllocShared(
size_t alignment,
ze_device_handle_t hDevice,
void **pptr) {
return L0::Context::fromHandle(hContext)->allocSharedMem(hDevice, deviceDesc->flags, hostDesc->flags, size, alignment, pptr);
return L0::Context::fromHandle(hContext)->allocSharedMem(hDevice, deviceDesc, hostDesc, size, alignment, pptr);
}
ZE_APIEXPORT ze_result_t ZE_APICALL