We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355cca4 commit d98dd25Copy full SHA for d98dd25
python/iron/program.py
@@ -70,6 +70,9 @@ def device_body():
70
for w in self._rt.workers:
71
all_fifos.update(w.fifos)
72
73
+ # Sort fifos for deterministic resolve
74
+ all_fifos = sorted(all_fifos, key=lambda obj: obj.name)
75
+
76
if placer:
77
# TODO: should maybe just take runtime?
78
placer.make_placement(
@@ -88,8 +91,7 @@ def device_body():
88
91
self._device.resolve_tile(t)
89
92
90
93
# Generate fifos
- sorted_fifos = sorted(all_fifos, key=lambda obj: obj.name)
- for f in sorted_fifos:
94
+ for f in all_fifos:
95
f.resolve()
96
97
# generate functions - this may call resolve() more than once on the same fifo, but that's ok
0 commit comments