You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/05/17 00:11:49 UTC

[GitHub] azai91 commented on issue #10836: mxnet-mkldnn(v1.2.0) to use whole CPU cores on machines without hyperthreading

azai91 commented on issue #10836: mxnet-mkldnn(v1.2.0) to use whole CPU cores on machines without hyperthreading
URL: https://github.com/apache/incubator-mxnet/issues/10836#issuecomment-389704315
 
 
   Is there any issue with just using the following to get the number of cores?
   
   ```
   #include <iostream>
    unsigned concurentThreadsSupported = std::thread::hardware_concurrency();
   ```
   
   https://stackoverflow.com/questions/150355/programmatically-find-the-number-of-cores-on-a-machine
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services