ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

HarmonyOS cpu.cpp get_thread_siblings 返回错误

Open WayneHalake opened this issue 1 year ago • 1 comments

HarmonyOS 中 cpu.cpp get_thread_siblings 返回错误

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

WayneHalake avatar Aug 22 '24 07:08 WayneHalake

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

WayneHalake avatar Aug 22 '24 07:08 WayneHalake

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

nihui avatar Oct 17 '24 02:10 nihui

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

感谢报告

nihui avatar Oct 17 '24 02:10 nihui