NVIDIA / spark-rapids-jni

RAPIDS Accelerator JNI For Apache Spark
Apache License 2.0
36 stars 64 forks source link

Restore static CUDA runtime linking #2165

Closed jlowe closed 3 months ago

jlowe commented 3 months ago

Fixes #2162. This problem was caused by a kvikio change that requires downstream projects to set CUDA_STATIC_RUNTIME when they need a static runtime.

In the process of investigating this, I discovered there's an existing rapids_cuda_set_runtime that's supposed to be used for specifying the CUDA runtime settings. I updated the CMakeLists.txt to use it, although it does not by itself fix the issue. The CUDA_STATIC_RUNTIME variable is required, but we should update to the RAPIDS method for setting CUDA runtime parameters to match how libcudf is doing it in case the implementation details change in the future.

jlowe commented 3 months ago

build

jlowe commented 3 months ago

build