Skip to content

Commit c6313bd

Browse files
authored
[SYCL] Fix batching related thresholds to improve performance (#5977)
Signed-off-by: Arvind Sudarsanam <[email protected]>
1 parent dfc87cc commit c6313bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/plugins/level_zero/pi_level_zero.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,8 +911,8 @@ typedef struct CommandListBatchConfig {
911911

912912
// Thresholds for when increase batch size (number of closed early is small
913913
// and number of closed full is high).
914-
pi_uint32 NumTimesClosedEarlyThreshold{2};
915-
pi_uint32 NumTimesClosedFullThreshold{10};
914+
pi_uint32 NumTimesClosedEarlyThreshold{3};
915+
pi_uint32 NumTimesClosedFullThreshold{8};
916916

917917
// Tells the starting size of a batch.
918918
pi_uint32 startSize() const { return Size > 0 ? Size : DynamicSizeStart; }

0 commit comments

Comments
 (0)