tensorflow - Build error with GPU support when building pip -


i've reached setting tensorflow development section of tensorflow 0.9 tutorial, , i'm getting error when trying add support gpu.

\> bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package    

error: /home/.../tensorflow/tensorflow/core/kernels/build:1489:1: undeclared inclusion(s) in rule '//tensorflow/core/kernels:batchtospace_op_gpu': rule missing dependency declarations following files included 'tensorflow/core/kernels/batchtospace_op_gpu.cu.cc'

i not error if exclude --config=cuda directive, however.

setup:
elementary os 0.3
tensorflow 0.9
cuda-7.5
cudnn 5.0.5
gcc 4.8.4

try adding

cxx_builtin_include_directory: "/usr/local/cuda-8.0/include"

to

third_party/gpus/crosstool/crosstool

https://github.com/tensorflow/tensorflow/issues/3431


Comments