feature: add graph support for new append functions

Related-To: NEO-15606, NEO-15571

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2025-08-29 14:35:40 +00:00
committed by Compute-Runtime-Automation
parent 3da7a3364c
commit e88d1287c0
10 changed files with 202 additions and 46 deletions

View File

@@ -170,6 +170,11 @@ ze_result_t zeCommandListAppendLaunchKernelWithArguments(
if (!hCommandList) {
return ZE_RESULT_ERROR_INVALID_NULL_HANDLE;
}
auto cmdList = L0::CommandList::fromHandle(hCommandList);
auto ret = cmdList->capture<CaptureApi::zeCommandListAppendLaunchKernelWithArguments>(hCommandList, hKernel, groupCounts, groupSizes, pArguments, pNext, hSignalEvent, numWaitEvents, phWaitEvents);
if (ret != ZE_RESULT_ERROR_NOT_AVAILABLE) {
return ret;
}
return L0::CommandList::fromHandle(hCommandList)->appendLaunchKernelWithArguments(hKernel, groupCounts, groupSizes, pArguments, pNext, hSignalEvent, numWaitEvents, phWaitEvents);
}