farray-threads: Set Number of Threads for "farray"

farray-threadsR Documentation

Set Number of Threads for 'farray'

Description

Set number of threads used by 'OpenMP'

Usage

set_farray_threads(
  nr_of_threads = getOption("farray.nthreads"),
  reset_after_fork = NULL
)

get_farray_threads(max = FALSE)

Arguments

nr_of_threads

number of CPU cores to use, or NULL to stay unchanged, default is getOption('farray.nthreads')

reset_after_fork

whether to reset after forked process

max

whether return maximum available threads

Value

Number of cores currently used.

Author(s)

Zhengjia Wang


dipterix/farray documentation built on Oct. 16, 2022, 6:13 p.m.