mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
refactor: unify cooperative cmd list launch functions
Related-To: NEO-11621 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
78c7d8878d
commit
45cf88077b
@@ -162,7 +162,11 @@ ze_result_t zeCommandListAppendLaunchCooperativeKernel(
|
||||
ze_event_handle_t hSignalEvent,
|
||||
uint32_t numWaitEvents,
|
||||
ze_event_handle_t *phWaitEvents) {
|
||||
return L0::CommandList::fromHandle(hCommandList)->appendLaunchCooperativeKernel(kernelHandle, *launchKernelArgs, hSignalEvent, numWaitEvents, phWaitEvents, false);
|
||||
|
||||
L0::CmdListKernelLaunchParams launchParams = {};
|
||||
launchParams.isCooperative = true;
|
||||
|
||||
return L0::CommandList::fromHandle(hCommandList)->appendLaunchKernel(kernelHandle, *launchKernelArgs, hSignalEvent, numWaitEvents, phWaitEvents, launchParams, false);
|
||||
}
|
||||
|
||||
ze_result_t zeCommandListAppendLaunchKernelIndirect(
|
||||
|
||||
Reference in New Issue
Block a user