compile4gpu: Enable compilation of GPU-compatible user-defined operators...

Description Usage Details Value Author(s) See Also Examples

View source: R/utils.R

Description

Set up rkeops compile options to compile user-defined operators that run on GPU. If CUDA is not available, user-defined operators will still be compiled without GPU support.

Usage

1

Details

Compiling GPU-compatible user-defined operators requires CUDA and nvcc (Nvidia compiler). If not available, user-defined operators will only be CPU-compatible.

Note: Default behavior is to compile GPU-compatible operators thus, if you do not modify rkeops options, it is optional to use the function compile4gpu.

When a GPU-compatible operator is compiled, you should call use_gpu() to ensure that computation will be run on GPU (difference between compilation and runtime options). GPU-compatible operators can run on CPU.

Value

None

Author(s)

Ghislain Durif

See Also

compile4cpu(), use_gpu(),

Examples

1
2

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