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.