Answers for "how to check cuda"

4

check for cuda version

nvidia-smi
nvcc --version
Posted by: Guest on May-18-2021
2

how to check cuda version

nvcc --version
Posted by: Guest on February-26-2020
0

check cuda

function lib_installed() { /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) 2>/dev/null | grep $1; }
function check() { lib_installed $1 && echo "$1 is installed" || echo "ERROR: $1 is NOT installed"; }
check libcuda
check libcudart
Posted by: Guest on May-20-2021

Browse Popular Code Answers by Language