Skip to content

Commit f35bb06

Browse files
authored
Bump semaphore count up (#1082)
Number of timelines was fixed to one, bumped to 8 to support multiple fibers.
1 parent e11d836 commit f35bb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shortfin/src/shortfin/local/scheduler.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void Scheduler::Initialize(
196196
throw std::logic_error("Duplicate device in Scheduler");
197197
}
198198
account.Initialize();
199-
semaphore_count_ += account.semaphore_count();
199+
semaphore_count_ += account.semaphore_count() + 8;
200200
}
201201
}
202202

0 commit comments

Comments
 (0)