Cmake project4/25/2023 ![]() I created a new directory (parallelization) under the source src directory to place the CUDA code, but any CUDA runtime API call for any. I’m trying to link CUDA code as a dynamic library into a CMake/C++ project (ClickHouse source).īoth CMakeLists.txt contexts are same as my first question. Thanks for your answer, I have updated the driver and runtime version to the latest but still face the same error. cu/.cuh/.h file, I get an error “CUDA driver version is insufficient for CUDA runtime version”. Project(ClickHouse LANGUAGES C CXX ASM CUDA)īut, When I call the CUDA runtime API in the. Set(CMAKE_CUDA_COMPILER /usr/local/cuda/bin/nvcc) Outermost CMakeLists.txt set(CMAKE_CUDA_ARCHITECTURES 86) )Īdd_library (clickhouse_aggregate_functions_cuda SHARED $/libcudart.so) My CUDA runtime version: Cuda compilation tools, **release 11.8, V11.8.89 **īuild cuda_11.8.r11.8/compiler.31833905_0ĬUDA Dir’s CMakeLists.txt set(cuda_include_dir /usr/local/cuda/include)Īdd_cuda_headers_and_sources (clickhouse_aggregate_functions_cuda. My CUDA Driver version: NVIDIA-SMI 525.89.02 Driver Version: 525.89.02 CUDA Version: 12.0 ![]() My device configuration: Ubuntu20.04 & Gefore RTX 3060
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |