better throughput scheduling with steady state cost model, now limited to spatial

This commit is contained in:
NiccoloN
2026-10-26 12:07:01 +01:00
parent fd493ae6e8
commit 4b53f6cf10
62 changed files with 4293 additions and 871 deletions
+4 -1
View File
@@ -69,8 +69,11 @@ def check_controller(run):
controller=True, issue=True)
reader = next(core for core in zero['memory_controller']['per_core'] if core['core'] == 0)
assert reader['queue_wait_ns'] > 0 # Zero service still queues behind an active request.
bounded = run([[scalar, scalar], [scalar, load(65536), scalar]], controller=True, issue=True)
bounded = json.loads(run([[scalar, scalar], [scalar, load(65536), scalar]],
controller=True, issue=True, valid=False).stdout)
assert bounded['status'] == 'unavailable'
assert bounded['memory_controller']['status'] == 'unavailable'
assert 'periodic_state' not in bounded['memory_controller']
shared = [[record(31, a=0, b=2), store(128), record(32, arg=1, a=1), record(32, arg=2, a=1)],
[record(32, arg=0, a=0), record(31, a=1, b=1), load(128), record(29, arg=2, length=64)],
[record(32, arg=0, a=0), record(31, a=1, b=1), load(128), record(30, arg=1, length=64)]]