ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

question about bit littlle core optiomization

Open vibecodingengine opened this issue 8 years ago • 1 comments

In the readme file, you mentioned multi-core parallel and ARM big.LITTLE cpu sheduling optimization. It seems that the multi-core parallelism is implemented by OPENMP, but what about the bit.LITTLE cpu sheduling? Can you please kindly explain how it's implemented? Thank you in advance.

vibecodingengine avatar Nov 15 '18 21:11 vibecodingengine

we set openmp thread affinity to the specified big or LITTLE cores you may find implementation details in src/cpu.cpp

nihui avatar Nov 16 '18 02:11 nihui