alpaka-group / alpaka

Abstraction Library for Parallel Kernel Acceleration :llama:
https://alpaka.readthedocs.io
Mozilla Public License 2.0
356 stars 74 forks source link

Make alpaka follow `CMAKE_CUDA_RUNTIME_LIBRARY` #2342

Closed fwyzard closed 3 months ago

fwyzard commented 3 months ago

CMake uses CMAKE_CUDA_RUNTIME_LIBRARY to link the static (libcudart_static.a) or shared (libcudart.so) CUDA runtime library.

This PR makes alpaka follow the same variable, and applies it also to the cuRAND libraries.