Remove CUDA support from Snap

This commit is contained in:
Michael Vines
2018-11-12 19:47:38 -08:00
committed by Grimes
parent c5b1bc1128
commit 017c281eaf
3 changed files with 7 additions and 27 deletions

View File

@ -53,7 +53,12 @@ snap)
"
if [[ -e /dev/nvidia0 ]]; then
commonNodeConfig="$commonNodeConfig enable-cuda=1"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo
echo "WARNING: GPU detected by snap builds to not support CUDA."
echo " Consider using instances with a GPU to reduce cost."
echo
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
fi
if [[ $nodeType = leader ]]; then