nvcc –V
或者:
CUDA:
cat /usr/local/cuda/version.txt
cudnn:
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
原文地址:https://www.cnblogs.com/btschang/p/10209833.html
时间: 2024-10-10 14:59:00
nvcc –V
或者:
CUDA:
cat /usr/local/cuda/version.txt
cudnn:
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
原文地址:https://www.cnblogs.com/btschang/p/10209833.html