-
Notifications
You must be signed in to change notification settings - Fork 28
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
update some code in /apps/gemini/src/platform #718
Conversation
It seems that the local variable loc is not useful
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #718 +/- ##
=======================================
Coverage 88.07% 88.07%
=======================================
Files 92 92
Lines 21303 21303
=======================================
Hits 18763 18763
Misses 2540 2540 ☔ View full report in Codecov by Sentry. |
Hi @xiuhu17 ! Thanks for the PR. Could you explain why you had to change the Gemmini malloc code? Was it incorrect in some cases? Could you provide a reproducer? |
Hi @yamaguchi1024 , the reason I change it because the original code looks like:
The |
Sorry for dropping the ball on this! The Gemmini malloc files are a bit stale honestly, and I don't think there's any test case that executes this either. I'm really curious how you found this bug. Were you trying to repurpose this code for some other memory allocation? |
Yeh, I previously was trying to figure out the allocation logic used by EXO, I read the code and found that issue. :) |
@xiuhu17 great, thanks for the contribution! |
No description provided.