aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/test/test_hillclimb_allocation.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/test/test_hillclimb_allocation.py')
-rw-r--r--ethosu/vela/test/test_hillclimb_allocation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethosu/vela/test/test_hillclimb_allocation.py b/ethosu/vela/test/test_hillclimb_allocation.py
index 8a56c3f..03aec2b 100644
--- a/ethosu/vela/test/test_hillclimb_allocation.py
+++ b/ethosu/vela/test/test_hillclimb_allocation.py
@@ -54,10 +54,10 @@ def live_range(start_time, end_time, size):
def test_allocate(lrs, expected_size):
"""Tests the search allocator"""
lr_list = [live_range(start, end, size) for start, end, size in lrs]
- res = allocate_live_ranges(lr_list)
+ res = allocate_live_ranges(lr_list, None, 1 << 32)
assert len(res) == len(lrs)
assert max(addr + lr[2] for addr, lr in zip(res, lrs)) == expected_size
def test_allocate_empty_input():
- assert [] == allocate_live_ranges([])
+ assert [] == allocate_live_ranges([], 0, 0)