Skip to content
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

Expose call to change which core a model is running on via JNI #10

Merged
merged 9 commits into from
Feb 2, 2024

Conversation

james20902
Copy link
Contributor

For load balancing on the Java end, we need to call the rknn_set_core_mask() function provided by Rockchip.

Hopefully, we'll be able to leverage all three NPU cores when available for maximum inference performance.

@james20902
Copy link
Contributor Author

james20902 commented Jan 31, 2024

This is a draft because it's untested, need to set up a build environment on my end at some point...

@mcm001 mcm001 marked this pull request as ready for review February 2, 2024 03:25
@mcm001 mcm001 merged commit c0836a6 into PhotonVision:main Feb 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants