Skip to content

Commit

Permalink
Added pragma insertion for array partitioning
Browse files Browse the repository at this point in the history
  • Loading branch information
JianyiCheng authored and kumasento committed Sep 11, 2021
1 parent 67c2d24 commit 5ae1e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/utils/polybench.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ def vitis_opt(self):
'-xlnnames="{}"'.format(",".join(xln_names)),
"-strip-attr",
"-xlnunroll",
"-xlnarraypartition",
]

self.run_command(
Expand Down
1 change: 1 addition & 0 deletions scripts/pb-flow
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ function opt_llvm_for_vitis() {
-xlnanno -xlntop="${top_func}" \
-strip-attr \
-xlnunroll \
-xlnarraypartition \
> "${dst_file}"

echo "${dst_file}"
Expand Down

0 comments on commit 5ae1e77

Please sign in to comment.