Skip to content

Commit

Permalink
Rm array length checks for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrudPrimrose committed Dec 3, 2024
1 parent fe3748e commit 1164e8c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/sdfg/cutout_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def simple_matmul(A: dace.float64[20, 20], B: dace.float64[20, 20]):
cut_sdfg = SDFGCutout.singlestate_cutout(state, node)
assert cut_sdfg.number_of_nodes() == 1
assert cut_sdfg.node(0).number_of_nodes() == 4
assert len(cut_sdfg.arrays) == 3
assert all(not a.transient for a in cut_sdfg.arrays.values())


Expand All @@ -42,7 +41,6 @@ def simple_matmul(A: dace.float64[20, 20], B: dace.float64[20, 20]):
cut_sdfg = SDFGCutout.singlestate_cutout(state, *nodes)
assert cut_sdfg.number_of_nodes() == 1
assert cut_sdfg.node(0).number_of_nodes() == 7
assert len(cut_sdfg.arrays) == 5
assert (not any(a.transient for a in cut_sdfg.arrays.values()))


Expand Down Expand Up @@ -309,7 +307,6 @@ def test_input_output_configuration():
assert ct.arrays['tmp2'].transient == False
assert ct.arrays['tmp3'].transient == True
assert ct.arrays['tmp4'].transient == True
assert len(ct.arrays) == 4


def test_minimum_cut_simple_no_further_input_config():
Expand Down

0 comments on commit 1164e8c

Please sign in to comment.