fix: add missing L0 API entries in global driver dispatch
all ddi entries related to exposed L0 API version should be set to valid ptr Related-To: NEO-13121 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
parent
6c2ddf1120
commit
1c42b26f41
|
@ -96,6 +96,12 @@ ze_result_t zeCommandListIsImmediate(
|
|||
return L0::CommandList::fromHandle(hCommandList)->isImmediate(pIsImmediate);
|
||||
}
|
||||
|
||||
ze_result_t zeCommandListCreateCloneExp(
|
||||
ze_command_list_handle_t hCommandList,
|
||||
ze_command_list_handle_t *phClonedCommandList) {
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
}
|
||||
|
||||
ze_result_t zeCommandListImmediateAppendCommandListsExp(
|
||||
ze_command_list_handle_t hCommandListImmediate,
|
||||
uint32_t numCommandLists,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
* Copyright (C) 2020-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -109,6 +109,12 @@ ze_result_t zeEventQueryKernelTimestampsExt(
|
|||
return L0::Event::fromHandle(hEvent)->queryKernelTimestampsExt(L0::Device::fromHandle(hDevice), pCount, pResults);
|
||||
}
|
||||
|
||||
ze_result_t zeEventPoolPutIpcHandle(
|
||||
ze_context_handle_t hContext,
|
||||
ze_ipc_event_pool_handle_t hIpc) {
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
}
|
||||
|
||||
ze_result_t zeEventPoolGetContextHandle(
|
||||
ze_event_pool_handle_t hEventPool,
|
||||
ze_context_handle_t *phContext) {
|
||||
|
|
|
@ -131,8 +131,8 @@ DriverDispatch::DriverDispatch() {
|
|||
this->coreDevice.pfnSetCacheAdviceExt = L0::zeDeviceSetCacheAdviceExt;
|
||||
this->coreDevice.pfnPciGetPropertiesExt = L0::zeDevicePciGetPropertiesExt;
|
||||
this->coreDevice.pfnGetRootDevice = L0::zeDeviceGetRootDevice;
|
||||
this->coreDevice.pfnImportExternalSemaphoreExt = nullptr;
|
||||
this->coreDevice.pfnReleaseExternalSemaphoreExt = nullptr;
|
||||
this->coreDevice.pfnImportExternalSemaphoreExt = L0::zeDeviceImportExternalSemaphoreExt;
|
||||
this->coreDevice.pfnReleaseExternalSemaphoreExt = L0::zeDeviceReleaseExternalSemaphoreExt;
|
||||
this->coreDeviceExp.pfnGetFabricVertexExp = L0::zeDeviceGetFabricVertexExp;
|
||||
this->coreContext.pfnCreate = L0::zeContextCreate;
|
||||
this->coreContext.pfnDestroy = L0::zeContextDestroy;
|
||||
|
@ -183,9 +183,9 @@ DriverDispatch::DriverDispatch() {
|
|||
this->coreCommandList.pfnGetOrdinal = L0::zeCommandListGetOrdinal;
|
||||
this->coreCommandList.pfnImmediateGetIndex = L0::zeCommandListImmediateGetIndex;
|
||||
this->coreCommandList.pfnIsImmediate = L0::zeCommandListIsImmediate;
|
||||
this->coreCommandList.pfnAppendSignalExternalSemaphoreExt = nullptr;
|
||||
this->coreCommandList.pfnAppendWaitExternalSemaphoreExt = nullptr;
|
||||
this->coreCommandListExp.pfnCreateCloneExp = nullptr;
|
||||
this->coreCommandList.pfnAppendSignalExternalSemaphoreExt = L0::zeCommandListAppendSignalExternalSemaphoreExt;
|
||||
this->coreCommandList.pfnAppendWaitExternalSemaphoreExt = L0::zeCommandListAppendWaitExternalSemaphoreExt;
|
||||
this->coreCommandListExp.pfnCreateCloneExp = L0::zeCommandListCreateCloneExp;
|
||||
this->coreCommandListExp.pfnImmediateAppendCommandListsExp = L0::zeCommandListImmediateAppendCommandListsExp;
|
||||
this->coreCommandListExp.pfnGetNextCommandIdExp = L0::zeCommandListGetNextCommandIdExp;
|
||||
this->coreCommandListExp.pfnUpdateMutableCommandsExp = L0::zeCommandListUpdateMutableCommandsExp;
|
||||
|
@ -227,7 +227,7 @@ DriverDispatch::DriverDispatch() {
|
|||
this->coreEventPool.pfnGetIpcHandle = L0::zeEventPoolGetIpcHandle;
|
||||
this->coreEventPool.pfnOpenIpcHandle = L0::zeEventPoolOpenIpcHandle;
|
||||
this->coreEventPool.pfnCloseIpcHandle = L0::zeEventPoolCloseIpcHandle;
|
||||
this->coreEventPool.pfnPutIpcHandle = nullptr;
|
||||
this->coreEventPool.pfnPutIpcHandle = L0::zeEventPoolPutIpcHandle;
|
||||
this->coreEventPool.pfnGetContextHandle = L0::zeEventPoolGetContextHandle;
|
||||
this->coreEventPool.pfnGetFlags = L0::zeEventPoolGetFlags;
|
||||
this->coreEvent.pfnCreate = L0::zeEventCreate;
|
||||
|
|
Loading…
Reference in New Issue