Description Usage Value Author(s) See Also Examples
Get the number of threads that will be used by RcppML functions supporting parallelization with OpenMP. Use setRcppMLthreads
to set the number of threads to be used.
1 |
integer giving number of threads to be used by RcppML functions. 0
corresponds to all available threads, as determined by OpenMP.
Zach DeBruine
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# set serial configuration
setRcppMLthreads(1)
getRcppMLthreads()
# restore default parallel configuration,
# letting OpenMP decide how many threads to use
setRcppMLthreads(0)
getRcppMLthreads()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.