diff --git a/sycl/plugins/level_zero/pi_level_zero.hpp b/sycl/plugins/level_zero/pi_level_zero.hpp index baa57124b9db0..804ee41deac00 100644 --- a/sycl/plugins/level_zero/pi_level_zero.hpp +++ b/sycl/plugins/level_zero/pi_level_zero.hpp @@ -271,8 +271,8 @@ struct _pi_context : _pi_object { std::mutex NumEventsLiveInEventPoolMutex; }; -// If doing dynamic batching, start batch size at 2. -const pi_uint32 DynamicBatchStartSize = 2; +// If doing dynamic batching, start batch size at 4. +const pi_uint32 DynamicBatchStartSize = 4; struct _pi_queue : _pi_object { _pi_queue(ze_command_queue_handle_t Queue, pi_context Context, diff --git a/sycl/test/plugins/level_zero_dynamic_batch_test.cpp b/sycl/test/plugins/level_zero_dynamic_batch_test.cpp index 2a4343562b2b5..7a5dc3803889f 100644 --- a/sycl/test/plugins/level_zero_dynamic_batch_test.cpp +++ b/sycl/test/plugins/level_zero_dynamic_batch_test.cpp @@ -17,8 +17,8 @@ // it does that 5 times as well. That should cause the batch size to // be lowered, just once to be less than 4. // -// CKDYN: Raising QueueBatchSize to 3 -// CKDYN: Raising QueueBatchSize to 4 +// CKDYN: Raising QueueBatchSize to 5 +// CKDYN: Raising QueueBatchSize to 6 // CKDYN-NOT: Raising QueueBatchSize // CKALL: Test Pass // CKALL: Test Pass