The function returns the maximum number of threads that you can use with multi-core functions.
The number returned is the number of Threads, not the number of Physical Cores (it is twice the number of physical cores of CPU uses Hyper Threading)
An integer with the number of threads available on the device.
If you want to always use the maximum number of Threads, you can simply put Inf as input of the number of threads instead of the output of this function.
Nicolas Baradel - PGM Solutions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.