Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sycl/plugins/level_zero/pi_level_zero.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions sycl/test/plugins/level_zero_dynamic_batch_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down