CUDA 问题汇总
- 链接错误
> /usr/bin/ld: cannot find -lcublas
> /usr/bin/ld: cannot find -lcudart
解决方法:
export LIBRARY_PATH=/path/to/your/cuda/lib64:${LIBRARY_PATH}
> /usr/bin/ld: cannot find -lcublas
> /usr/bin/ld: cannot find -lcudart
解决方法:
export LIBRARY_PATH=/path/to/your/cuda/lib64:${LIBRARY_PATH}