fix: select correct CSR for submission if copy offload is not allowed

Related-To: GSD-10194

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2024-11-28 15:47:42 +00:00
committed by Compute-Runtime-Automation
parent c5ed6bf73c
commit c6accb8d53
32 changed files with 603 additions and 530 deletions

View File

@@ -19,7 +19,8 @@ ze_result_t zeCommandListAppendMemoryCopy(
ze_event_handle_t hSignalEvent,
uint32_t numWaitEvents,
ze_event_handle_t *phWaitEvents) {
return L0::CommandList::fromHandle(hCommandList)->appendMemoryCopy(dstptr, srcptr, size, hSignalEvent, numWaitEvents, phWaitEvents, false, false);
CmdListMemoryCopyParams memoryCopyParams = {};
return L0::CommandList::fromHandle(hCommandList)->appendMemoryCopy(dstptr, srcptr, size, hSignalEvent, numWaitEvents, phWaitEvents, memoryCopyParams);
}
ze_result_t zeCommandListAppendMemoryFill(
@@ -47,7 +48,8 @@ ze_result_t zeCommandListAppendMemoryCopyRegion(
ze_event_handle_t hEvent,
uint32_t numWaitEvents,
ze_event_handle_t *phWaitEvents) {
return L0::CommandList::fromHandle(hCommandList)->appendMemoryCopyRegion(dstptr, dstRegion, dstPitch, dstSlicePitch, srcptr, srcRegion, srcPitch, srcSlicePitch, hEvent, numWaitEvents, phWaitEvents, false, false);
CmdListMemoryCopyParams memoryCopyParams = {};
return L0::CommandList::fromHandle(hCommandList)->appendMemoryCopyRegion(dstptr, dstRegion, dstPitch, dstSlicePitch, srcptr, srcRegion, srcPitch, srcSlicePitch, hEvent, numWaitEvents, phWaitEvents, memoryCopyParams);
}
ze_result_t zeCommandListAppendImageCopy(