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

Support hcl.assert_ ? #129

Open jcasas00 opened 2 years ago

jcasas00 commented 2 years ago

When will hcl.assert_ be available for hcl-mlir?

zzzDavid commented 2 years ago

I plan to add an assert operation in our dialect.

For LLVM backend, hcl.assert will be implemented with Python call-back function. Other backends will use codegen facilities to generate target assert operations.