Skip to content

Commit

Permalink
Merge pull request #51 from daavoo/master
Browse files Browse the repository at this point in the history
Fix missing "/include/" in cudnn.h search
  • Loading branch information
FloopCZ authored Feb 5, 2018
2 parents fbbd76c + 58a0f84 commit ba7f78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow_cc/cmake/build_tensorflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
if [ -e /opt/cuda/include/cudnn.h ]; then
echo "Using CUDNN from /opt/cuda"
export CUDNN_INSTALL_PATH=/opt/cuda
elif [ -e /usr/local/cuda/cudnn.h ]; then
elif [ -e /usr/local/cuda/include/cudnn.h ]; then
echo "Using CUDNN from /usr/local/cuda"
export CUDNN_INSTALL_PATH=/usr/local/cuda
elif [ -e /usr/include/cudnn.h ]; then
Expand Down

0 comments on commit ba7f78a

Please sign in to comment.