Friday, June 4, 2021

CMake cannot find CUDA

specify CUDA_TOOLKIT_ROOT_DIR to cmake:
cmake -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-5.5 
Source: https://stackoverflow.com/questions/19980412/how-to-let-cmake-find-cuda 
important to have the version at the end of path in my own experience 

No comments:

Post a Comment