-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[CMSIS-NN] enable USMP with CMSIS-NN #10224
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
Conversation
a12bea9 to
dda2bf2
Compare
061dfc4 to
130f22d
Compare
|
This is ready for review. @ashutosh-arm @Mousius |
130f22d to
8c711d9
Compare
lhutton1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment. Will defer to others for approval
| @@ -27,6 +27,7 @@ | |||
| from tests.python.relay.aot.aot_test_utils import ( | |||
| AOTTestModel, | |||
| AOT_CORSTONE300_RUNNER, | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: unused import? (elsewhere as well)
asparkhi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @manupa-arm . Overall looks good to me :) Few minor comments.
This commit mainly enables the USMP with CMSIS-NN codegen. In order to do that, CMSIS-NN functions needed to contain BufferMaps. This commit adds the necessary BufferMaps as well. All the tests are modified to run with USMP while the networks tests run with and without USMP. Change-Id: I18c7958addfff90b8243e9a6c70b7411158462fa
"NULL" should be supplied as an extern arg if the context buffer is not allocated. Change-Id: I58866df69a27ce976ac45a57e2f261094a48e48e
* renaming buffer_var to be context_buffer_var * removing trailing underscore from local variable : buffer_creator Change-Id: I874164aa4944087c0e13cef80ead04c0de2be149
|
@ashutosh-arm, I've addressed the comments, PTAL when you have some time! |
|
Thanks @manupa-arm. I suppose it was already in a good state to be merged :) |
|
No worries, nothing major :) |
Mousius
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the reviews @ashutosh-arm / @lhutton1 - makes sense to me 😸
|
Thanks @manupa-arm! |
This commit mainly enables the USMP with CMSIS-NN codegen. In order to do that, CMSIS-NN functions needed to contain BufferMaps. This commit adds the necessary BufferMaps as well. All the tests are modified to run with USMP while the networks tests run with and without USMP.
This commit mainly enables the USMP with CMSIS-NN codegen. In order to do that, CMSIS-NN functions needed to contain BufferMaps. This commit adds the necessary BufferMaps as well. All the tests are modified to run with USMP while the networks tests run with and without USMP.
This commit mainly enables the USMP with CMSIS-NN codegen.
In order to do that, CMSIS-NN functions needed to contain BufferMaps. This commit adds the necessary BufferMaps as well.
All the tests are modified to run with USMP while the networks tests run with and without USMP.