Based on the output for, $ ls /usr/local/cudayou have successfully installed it.
Now what's missing is a PATH definition so that TensorFlow can find where it is.
1) Open the .bashrc file: gedit ~/.bashrc
2) Add the following two lines to the end of the file:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda/include"
export CUDA_HOME=/usr/local/cuda
3) .bashrc:
source ~/.bashrc
, 100% , .
, TensorFlow, CUDA /usr/local/cuda 8.0.