set_rkeops_option: Set up a specific compile or runtime options of 'rkeops' in...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/common-set_options.R

Description

The function set_rkeops_option allows to modify the value of a single specific rkeops options in R global options scope.

Usage

1
set_rkeops_option(option, value)

Arguments

option

string, name of the option to set up (see Details).

value

whatever value to assign to the chosen option (see Details).

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:

To know which values are allowed for which options, you can check compile_options() and runtime_options().

Value

None

Author(s)

Ghislain Durif

See Also

set_rkeops_options(), compile_options(), runtime_options(), use_gpu(), compile4gpu(), get_rkeops_options()

Examples

1
2
3
4
5
library(rkeops)
# to enable GPU computing
set_rkeops_option("tagCpuGpu", 1)
# to set up the GPU id used for computations
set_rkeops_option("device_id", 0L) # integer value

rkeops documentation built on Feb. 17, 2021, 5:08 p.m.