Answers for "what cuda do I have"

2

checking cuda

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

check cuda version python

nvcc --version
Posted by: Guest on August-20-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

Code answers related to "what cuda do I have"

Browse Popular Code Answers by Language