Answers for "which cuda do i have"

2

checking cuda

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

Code answers related to "which cuda do i have"

Python Answers by Framework

Browse Popular Code Answers by Language