cornell-zhang / hcl-dialect

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

[Backend][VHLS] Support `hcl.print` #108

Open zzzDavid opened 2 years ago

zzzDavid commented 2 years ago

This thread is for hcl.print support in VHLS backend. By now, we have defined a PrintOp operation in HCL dialect and supported memref printing in LLVM backend. The next step is to add support in VHLS backend for memref printing, and expression printing in both backends

Related test: mlir/test_codegen_vhsl.py::test_print