Description Usage Value See Also Examples
This is a wrapper for the OpenMP-function omp_get_max_threads()
, hence the function will
report the result of the according omp-function.
Note: The returned value does not necessarily reflect the number of physical cores present but in most
cases it will.
1 |
Returns the value reported by omp_get_max_threads()
set_num_threads, get_num_threads, check_openmp
1 2 3 4 5 6 | # set number of threads to the value reported by get_max_threads()
n_threads <- get_max_threads()
set_num_threads(n_threads)
# check
get_num_threads()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.