set_rkeops_option: Set up a specific compile or runtime options of rkeops in R global
options scope
Description
The function set_rkeops_option allows to modify the value of a single
specific rkeops options in R global options scope.
Usage
set_rkeops_option(option, value)
Value
None
Arguments
option
string, name of the option to set up (see Details).
value
whatever value to assign to the chosen option (see Details).
Author
Ghislain Durif
Details
rkeops uses two sets of options: compile options (see
compile_options()) and runtime options (see
runtime_options()). These options define the behavior of rkeops
when compiling or when calling user-defined operators.
With the function set_rkeops_option, you can set up a specific rkeops
option among:
library(rkeops)
# to enable GPU computingset_rkeops_option("tagCpuGpu", 1)
# to set up the GPU id used for computationsset_rkeops_option("device_id", 0L) # integer value