cornell-zhang / hcl-dialect

HeteroCL-MLIR dialect for accelerator design
https://cornell-zhang.github.io/heterocl/index.html
Other
37 stars 15 forks source link

[Backend] Fix stream pragma for partitioned arrays #206

Closed chhzh123 closed 10 months ago

chhzh123 commented 10 months ago

Previously when an array is partitioned in the first place and changed into a FIFO through .to(), both partition and stream pragmas will be printed, which is not correct. This PR fixes this issue.