Skip to content

Commit 7f5203b

Browse files
[SYCL][PI][L0] Revert copy batching from #3232 (#3363)
This change reverts the batching for copy commands that was done in #3232. That changed caused a failure on sycl_thread_safety/event_wait test that needs further analysis before this can be re-enabled.
1 parent af04f72 commit 7f5203b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -4302,7 +4302,7 @@ enqueueMemCopyHelper(pi_command_type CommandType, pi_queue Queue, void *Dst,
43024302
ze_command_list_handle_t ZeCommandList = nullptr;
43034303
ze_fence_handle_t ZeFence = nullptr;
43044304
if (auto Res = Queue->Context->getAvailableCommandList(Queue, &ZeCommandList,
4305-
&ZeFence, true))
4305+
&ZeFence))
43064306
return Res;
43074307

43084308
ze_event_handle_t ZeEvent = nullptr;
@@ -4327,8 +4327,8 @@ enqueueMemCopyHelper(pi_command_type CommandType, pi_queue Queue, void *Dst,
43274327
pi_cast<std::uintptr_t>(ZeEvent));
43284328
printZeEventList(WaitList);
43294329

4330-
if (auto Res = Queue->executeCommandList(ZeCommandList, ZeFence,
4331-
BlockingWrite, true))
4330+
if (auto Res =
4331+
Queue->executeCommandList(ZeCommandList, ZeFence, BlockingWrite))
43324332
return Res;
43334333

43344334
return PI_SUCCESS;

0 commit comments

Comments
 (0)