mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
3da7a3364c
commit
e88d1287c0
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user