From 744b003b1f9b31f53c57e8f1b44d09dca10b6105 Mon Sep 17 00:00:00 2001 From: Rob Suderman Date: Thu, 13 Mar 2025 14:14:20 -0700 Subject: [PATCH] Bump semaphore count up Number of timelines was fixed to one, bumped to 8 to support multiple fibers. --- shortfin/src/shortfin/local/scheduler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortfin/src/shortfin/local/scheduler.cc b/shortfin/src/shortfin/local/scheduler.cc index 6ca10fc0a..400ba5b7b 100644 --- a/shortfin/src/shortfin/local/scheduler.cc +++ b/shortfin/src/shortfin/local/scheduler.cc @@ -196,7 +196,7 @@ void Scheduler::Initialize( throw std::logic_error("Duplicate device in Scheduler"); } account.Initialize(); - semaphore_count_ += account.semaphore_count(); + semaphore_count_ += account.semaphore_count() + 8; } }