feature: add new functions to dispatch table

Related-To: NEO-11115

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2024-11-05 15:55:59 +00:00
committed by Compute-Runtime-Automation
parent 99238f4dee
commit e3acd850ea
2 changed files with 38 additions and 0 deletions

View File

@@ -37,6 +37,24 @@ ze_result_t zeCommandListUpdateMutableCommandWaitEventsExp(
ze_event_handle_t *phWaitEvents) {
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
}
ze_result_t zeCommandListGetNextCommandIdWithKernelsExp(
ze_command_list_handle_t hCommandList,
const ze_mutable_command_id_exp_desc_t *desc,
uint32_t numKernels,
ze_kernel_handle_t *phKernels,
uint64_t *pCommandId) {
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
}
ze_result_t zeCommandListUpdateMutableCommandKernelsExp(
ze_command_list_handle_t hCommandList,
uint32_t numKernels,
uint64_t *pCommandId,
ze_kernel_handle_t *phKernels) {
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
}
} // namespace L0
extern "C" {
@@ -73,4 +91,22 @@ zeCommandListUpdateMutableCommandWaitEventsExp(
return L0::zeCommandListUpdateMutableCommandWaitEventsExp(hCommandList, commandId, numWaitEvents, phWaitEvents);
}
ZE_APIEXPORT ze_result_t ZE_APICALL
zeCommandListGetNextCommandIdWithKernelsExp(
ze_command_list_handle_t hCommandList,
const ze_mutable_command_id_exp_desc_t *desc,
uint32_t numKernels,
ze_kernel_handle_t *phKernels,
uint64_t *pCommandId) {
return L0::zeCommandListGetNextCommandIdWithKernelsExp(hCommandList, desc, numKernels, phKernels, pCommandId);
}
ZE_APIEXPORT ze_result_t ZE_APICALL zeCommandListUpdateMutableCommandKernelsExp(
ze_command_list_handle_t hCommandList,
uint32_t numKernels,
uint64_t *pCommandId,
ze_kernel_handle_t *phKernels) {
return L0::zeCommandListUpdateMutableCommandKernelsExp(hCommandList, numKernels, pCommandId, phKernels);
}
} // extern "C"