digitalbrain79 / darknet-nnpack

Darknet with NNPACK
Other
306 stars 76 forks source link

# of CPU cores used #4

Closed kaishijeng closed 7 years ago

kaishijeng commented 7 years ago

I have an 8 CPU Cores (arm53) and notice darknet-nnpack only uses for 4 instead of all 8 cores. This may be due to RPI customization. Can you change to use all 8 cores to speed up more?

Thanks,

digitalbrain79 commented 7 years ago

Yon can change the code 'pthreadpool_create(4)' in detector.c to 'pthreadpool_create(8)'.

Thank you

kaishijeng commented 7 years ago

I will make a change and try it out

Thanks,.

On Thu, Apr 6, 2017 at 6:55 PM, Thomas Park notifications@github.com wrote:

Yon can change the code 'pthreadpool_create(4)' in detector.c to 'pthreadpool_create(8)'.

Thank you

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thomaspark-pkj/darknet-nnpack/issues/4#issuecomment-292397314, or mute the thread https://github.com/notifications/unsubscribe-auth/AMGg3vKzK0pyrdgrSuQSw85solIdXwVXks5rtZd5gaJpZM4MybdU .

kaishijeng commented 7 years ago

It works Thanks