Added dev-util/nvidia-cuda-toolkit-12.6.1

This commit is contained in:
saundersp
2024-09-07 21:31:08 +02:00
parent c35830a539
commit a2bb4f1ec0
5 changed files with 388 additions and 0 deletions

View File

@ -0,0 +1,28 @@
#!/bin/bash
SUPPORT_GCC_VERSIONS_BY_CUDA="CUDA_SUPPORTED_GCC"
_print_help() {
cat <<- EOF
Usage:
$(basename "$0") [options]
-s | --supported Returns by current CUDA supported gcc versions
-h | --help Shows this help
EOF
}
case ${1} in
-s|--supported)
echo "${SUPPORT_GCC_VERSIONS_BY_CUDA}"
exit 0
;;
-h|--help)
_print_help
exit 255
;;
*)
_print_help
exit 1
;;
esac