Skip to content

Commit

Permalink
Fix w/d test inlining
Browse files Browse the repository at this point in the history
  • Loading branch information
phschaad committed Oct 29, 2024
1 parent 2a26d24 commit f63f75d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/sdfg/work_depth_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ def test_work_depth(test_name):
inliner.no_inline_function_call_regions = False
inliner.no_inline_named_regions = False
inliner.apply_pass(sdfg, {})
for sd in sdfg.all_sdfgs_recursive():
sd.using_experimental_blocks = False

analyze_sdfg(sdfg, w_d_map, get_tasklet_work_depth, [], False)
res = w_d_map[get_uuid(sdfg)]
Expand Down Expand Up @@ -283,6 +285,8 @@ def test_avg_par(test_name: str):
inliner.no_inline_function_call_regions = False
inliner.no_inline_named_regions = False
inliner.apply_pass(sdfg, {})
for sd in sdfg.all_sdfgs_recursive():
sd.using_experimental_blocks = False

analyze_sdfg(sdfg, w_d_map, get_tasklet_avg_par, [], False)
res = w_d_map[get_uuid(sdfg)][0] / w_d_map[get_uuid(sdfg)][1]
Expand Down

0 comments on commit f63f75d

Please sign in to comment.