Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Butygin <[email protected]>
  • Loading branch information
Hardcode84 committed Dec 13, 2024
1 parent ebc543f commit e81d439
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iree/turbine/kernel/wave/scheduling/modulo_scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ def schedule_graph(self) -> tuple[dict[fx.Node, int], bool]:
# TODO: Come up with a better heuristic on an upper bound for the initiation interval.
T_max_range = 3 * T0
success = False

# We cannot create create child processes when running in daemon process
# so just run sequentially.
# TODO: Find a way to reuse processes from the outside pool if we are
# already running inside.
if mp.current_process().daemon:
pool = None
else:
Expand Down

0 comments on commit e81d439

Please sign in to comment.