I have installed CUDA, cuDNN and Titan XP GPU, by following the [https://www.tensorflow.org/install/gpu] and tested with nvidia-smi.
nvidia-smi
Fri Oct 23 0