Skip to content

Commit 30c85dd

Browse files
authored
(shortfin) Increase loop queue/wait limit for workers.
1 parent 5d453c3 commit 30c85dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shortfin/src/shortfin/local/worker.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Worker::Worker(const Options options)
4646
iree_status_ignore(status);
4747
};
4848
// TODO: We need a way to dynamically resize this vs having a hard limit.
49-
iree_loop_sync_options_t loop_options = {.max_queue_depth = 256,
50-
.max_wait_count = 256};
49+
iree_loop_sync_options_t loop_options = {.max_queue_depth = 2048,
50+
.max_wait_count = 2048};
5151
SHORTFIN_THROW_IF_ERROR(
5252
iree_loop_sync_allocate(loop_options, options_.allocator, &loop_sync_));
5353
iree_loop_sync_scope_initialize(loop_sync_, OnError, this, &loop_scope_);

0 commit comments

Comments
 (0)