armadillo_throttle_cores: Throttle (or Reset) (Rcpp)Armadillo to Two Cores

View source: R/init.R

armadillo_throttle_coresR Documentation

Throttle (or Reset) (Rcpp)Armadillo to Two Cores

Description

Helper functions to throttle use of cores by RcppArmadillo-internal code on systems with OpenMP. On package load, the initial value is saved and used to reset the value.

Usage

armadillo_throttle_cores(n = 2)

armadillo_reset_cores()

Arguments

n

Integer value of desired cores, default is two


RcppArmadillo documentation built on Sept. 12, 2024, 9:34 a.m.