-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Feature/cpu 64core support #6190
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
base: master
Are you sure you want to change the base?
Conversation
The binary size change of libncnn.so (bytes)
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6190 +/- ##
==========================================
+ Coverage 95.82% 95.98% +0.15%
==========================================
Files 834 835 +1
Lines 265366 265247 -119
==========================================
+ Hits 254280 254586 +306
+ Misses 11086 10661 -425 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
remove unrelated changes (build.sh and build-android.cmd)
…rsdog/ncnn into feature/cpu-64core-support
概述
本次提交对 ncnn 项目中的 CpuSet 类进行了重要改进,主要针对Windows平台增加了对64核以上CPU的多处理器组(Processor Groups)支持,解决了在高核心数系统上的CPU识别,管理问题。LInux & android平台原生支持最大1024核,未改变。MacOs的也未进行改动。
设计思路
把原来的64位ULONG_PTR掩码设计成组,分组进行管理,每组内仍使用ULONG_PTR作为掩码
新增功能:
本代码未使用,但认为可能会在其他模块需要这样的api