If the script above doesn’t work, try this:
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2orcat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2
To check GPU Card info, deep learner might use this all the time.
The following result tell us that: you have three GTX-1080ti, which are gpu0, gpu1, gpu2.
Gpu1 is running by other people.
Python (Show what version of tensorflow in your PC.)
python -c 'import tensorflow as tf; print(tf.__version__)'
# for Python 2
python3 -c 'import tensorflow as tf; print(tf.__version__)'
# for Python 3