get_rkeops_option: Get the current value of a specific compile or runtime...

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

View source: R/common-get_options.R

Description

The function get_rkeops_option returns the current value of a specific rkeops option (in R global options scope) provided as input.

Usage

1

Arguments

option

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

Details

rkeops global options includes two lists defining options used at compilation of user-defined operators or at runtime. These two list contains specific informations (see compile_options() and runtime_options() respectively, in particular for default values).

With the function get_rkeops_option, you get the value of a specific rkeops option among:

Value

the value of the requested option (see Details).

Author(s)

Ghislain Durif

See Also

get_rkeops_options(), compile_options(), runtime_options(), set_rkeops_options(), set_rkeops_option()

Examples

1
2
3
library(rkeops)
# to get the GPU id used for computations
get_rkeops_option("device_id")

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