issues
search
cornell-zhang
/
heterocl
HeteroCL: A Multi-Paradigm Programming Infrastructure for Software-Defined Heterogeneous Computing
https://cornell-zhang.github.io/heterocl/
Apache License 2.0
326
stars
92
forks
source link
[Backend][Testing] Fix codegen with Print stmt; Restructure codegen tests
#333
Closed
seanlatias
closed
3 years ago
seanlatias
commented
3 years ago
This PR does two things.
Add a default method for
Print
stmt in codegen. For now, we simply skip the stmt. In the future, we can customize the print messages for each backend.
Restructure the codegen tests. Extract common test patterns into
__test_codegen_harness.py
.
This PR does two things.
Print
stmt in codegen. For now, we simply skip the stmt. In the future, we can customize the print messages for each backend.__test_codegen_harness.py
.