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

How does HCL interact with C/C++ and DSLs #212

Open Fatalon opened 7 months ago

Fatalon commented 7 months ago

Hi, I was reviewing the code and wondering, how the current hcl dialect interacts with the C/C++ and PyTorch/Tensorflow flow from ScaleHLS. As I am new to MLIR and there are currently no tutorials/code examples, I couldnt fully understand, if HeteroCL simply supports C/C++ and these DSLs due to MLIR or if you can apply optimization specifications,.. for functions specified in C/C++,... Thanks for your help in advance.