Have you actually succeeded yet in building a pip package linked with CUDA 8? I am doing basically the same process, and it only keeps failing.
https://github.com/tensorflow/tensorflow/issues/2559#issueco...
https://github.com/tensorflow/tensorflow/issues/2559#issueco...
For the first time I was able to complete a build last night, Ubuntu 16.04, CUDA 8.0 RC + compiler patch, cuDNN 5.1, nvidia-driver-370, python-2.7, and compute capability 6.1 (for Pascal GPU) - but only when I switched to the r0.10 branch.
With r0.10 I see none of the multiple failure modes that I always see with master. It just went straight ahead and compiled the whole thing.