-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only specific coding style can pass compilation #12
Comments
Hi, Right now AutoSA did has a rigid requirement for the coding style. I don't think local variable definition is allowed. That should be the reason that caused the error you encountered. |
Okay. Thanks for your reply! Do you have plans to fix this limitation? |
It will take some time, probably will not be fixed in a short time. You probably could consider doing some quick fix on your generated code (e.g., replace v7 and v8 with array references) to get around this limitation? |
Yeah, since we are working on MLIR which has a strict SSA format, plugging |
Hi,
I just installed AutoSA and tried to make some code generation for systolic arrays. It seems AutoSA has a very strict coding style. I wonder why in the following GEMM example. Only the second can work, but the first way cannot.
If I use the first way, the compiler gives the following error.
Is this a limitation of AutoSA or are there something wrong with my code? Thanks!
The text was updated successfully, but these errors were encountered: