Open hecmay opened 2 years ago
@zzzDavid @chhzh123 can you maybe take a quick pass on this PR? Thanks!
Sorry for the late review. I’ve looked through the code and think maybe you could add more descriptions for this PR. Seems you have added several new features besides the AutoSA backend.
- I notice you introduced new APIs like
transpose
andpack
, and new passes liketransform_layout
andexplicit_unroll
, could you also describe the changes in this PR?- Just a small question: You are not writing a C++ codegen for AutoSA right? All the compilation happens at the Python level (except for some transformation passes).
Thanks for pointing that out.
This PR aims to enhance
.systolic()
and.to()
primitive to better support intra-kernel data placement for systolic array generation using AutoSA backend..systolic()
primitive is a push-button API that maps the compute kernel to a systolic array automatically (while the dataflow pattern is left to compiler's decision)..to()
primitive provides more flexibility for expert designers to explore the trade-offs of different systolic dataflows.I have successfully solved the dependency issues and installed AutoSA on our local server. In this PR, i will also add the CI/CD local testing for systolic array programs with AutoSA backend.