Skip to content

Commit

Permalink
Attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
abisca committed Apr 24, 2024
1 parent b699c42 commit 25bc685
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions python/compiler/aiecc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -996,19 +996,23 @@ async def run_flow(self):

file_with_addresses = self.prepend_tmp("input_with_addresses.mlir")
if opts.basic_alloc_scheme:
file_with_addresses = do_run(
do_run(
[
"aie-opt",
"--aie-assign-buffer-addresses=basic-alloc",
file_with_switchboxes,
"-o",
file_with_addresses,
],
)
else:
file_with_addresses = do_run(
do_run(
[
"aie-opt",
"--aie-assign-buffer-addresses",
file_with_switchboxes,
"-o",
file_with_addresses,
],
)

Expand Down

0 comments on commit 25bc685

Please sign in to comment.