Initialize or update rkeops
options in R
global options scope
Source: R/rkeops_options.R
set_rkeops_options.Rd
rkeops
user-defined operators requires specific options to control
their behavior at runtime (precision, verbosity, use of GPU, debug flag).
Their current values can be printed with get_rkeops_options()
.
Details
See def_rkeops_options()
for more detailed about these options.
If no input is provided, the functions set_rkeops_options()
initializes all rkeops
options in the R
global options scope
(i.e. options available by calling options()
or
getOptions(<option_name>)
) with default values.
If some input is provided, i.e. objects defining compile options and/or
runtime options (see Details), rkeops
global options are updated
accordingly.
Some helper functions are available to enable some options,
see rkeops_use_float32()
, rkeops_use_float64()
,
rkeops_use_cpu()
, rkeops_use_gpu()
,
rkeops_enable_verbosity()
, rkeops_disable_verbosity()
.