rapids_cuda_init_runtimeΒΆ

New in version v21.06.00.

Establish what CUDA runtime library should be propagated

rapids_cuda_init_runtime( USE_STATIC (TRUE|FALSE) )

Establishes what CUDA runtime will be used, if not already explicitly specified, via the CMAKE_CUDA_RUNTIME_LIBRARY variable. We also set CUDA_USE_STATIC_CUDA_RUNTIME to control targets using the legacy FindCUDA.cmake

When USE_STATIC TRUE is provided all targets will link to a

statically-linked CUDA runtime library.

When USE_STATIC FALSE is provided all targets will link to a

shared-linked CUDA runtime library.