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

2018-05-16 Thread GitBox
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 
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:
us...@infra.apache.org


With regards,
Apache Git Services


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

2018-05-16 Thread GitBox
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 
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:
us...@infra.apache.org


With regards,
Apache Git Services