Tencent / ncnn

ncnn is a high-performance neural network inference framework optimized for the mobile platform
Other
20.48k stars 4.17k forks source link

HarmonyOS cpu.cpp get_thread_siblings 返回错误 #5644

Closed WayneHalake closed 4 weeks ago

WayneHalake commented 2 months ago

HarmonyOS 中 cpu.cpp get_thread_siblings 返回错误

Originally posted by @nihui in https://github.com/Tencent/ncnn/issues/5577#issuecomment-2228230505

WayneHalake commented 2 months ago

HarmonyOS中无 /sys/devices/system/cpu/cpu%d/topology/thread_siblings 该文件,可通过修改为/sys/devices/system/cpu/cpu%d/topology/thread_siblings_list修复

nihui commented 4 weeks ago

https://github.com/Tencent/ncnn/pull/5740

nihui commented 4 weeks ago

fixed in https://github.com/Tencent/ncnn/commit/8105c75120f4f3a996395f21323e0578d65664dc

感谢报告