-
Notifications
You must be signed in to change notification settings - Fork 27
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
GEMM kernel complied by AM execute incorrectly in XS-GEM5 #183
Comments
I opened difftest and tested it, and found that GEM5 made an error when executing the
|
It seem like vectorReduceFloatFormat has bug, because of add vectorOldVDElim |
Thanks for your reply, I will try not to use vectorReduce next time. Please mention it in your commit logs after you fix the bug. |
I have implemented a GEMM kerenl using RVV and complie it into a bare metal using AM. Before simulation, I deleted the function calls that were not aligned with the RTL and depended on the vector destination register fake data in the issue_queue.cc file. However, the output matrix elements in GEM5 simulation results are all 0, which are expected to 128. I also simulated it on the original GEM5, and the result was correct. My source code are as followed:
Through staged debugging, I determined that the problem occurred in the step of vector reduction. How can I fix it?
The text was updated successfully, but these errors were encountered: