You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add availableThreads(), which works similarly to availableCores(), but instead reports on settings that control multi_threading_, in contrast to multi_processing_.
What should, say, system report on? Should it be detectCores() * detectThreadsPerCores()?
Should this also report on anything that availableCores() report on? Basically, availableCores() * detectThreadsPerCores()?
For queries that require loading a package (e.g. RcppParallel::defaultNumThreads()), what should happen? Should it return NA_integer_ if package is not loaded? Should it attempt to load it? (probably not)
Wish
Add
availableThreads()
, which works similarly toavailableCores()
, but instead reports on settings that control multi_threading_, in contrast to multi_processing_.It should work something like:
Open questions
system
report on? Should it bedetectCores() * detectThreadsPerCores()
?availableCores()
report on? Basically,availableCores() * detectThreadsPerCores()
?RcppParallel::defaultNumThreads()
), what should happen? Should it returnNA_integer_
if package is not loaded? Should it attempt to load it? (probably not)See also
The text was updated successfully, but these errors were encountered: