summaryrefslogtreecommitdiff
path: root/Makefile.config.example
diff options
context:
space:
mode:
authorleelurch <jyegerlehner@yahoo.com>2014-06-15 20:07:04 -0500
committerleelurch <jyegerlehner@yahoo.com>2014-06-15 20:07:04 -0500
commit40837161e382812b331213f9694fa529b4ae7a4b (patch)
tree6c779d440950c2c4a161a34a0a57cc5e7da3eec8 /Makefile.config.example
parent6b6ab3339f61c6edf91e23878b23b22e18c16398 (diff)
downloadcaffe-40837161e382812b331213f9694fa529b4ae7a4b.tar.gz
caffe-40837161e382812b331213f9694fa529b4ae7a4b.tar.bz2
caffe-40837161e382812b331213f9694fa529b4ae7a4b.zip
Add comment for how to set the CUDA path when cuda tools are installed by the package manager.
Diffstat (limited to 'Makefile.config.example')
-rw-r--r--Makefile.config.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config.example b/Makefile.config.example
index f9d8be80..9754129b 100644
--- a/Makefile.config.example
+++ b/Makefile.config.example
@@ -3,6 +3,9 @@
# CUDA directory contains bin/ and lib/ directories that we need.
CUDA_DIR := /usr/local/cuda
+# On Ubuntu 14.04, if cuda tools are installed via
+# "sudo apt-get install nvidia-cuda-toolkit" then use this instead:
+# CUDA_DIR := /usr
# CUDA architecture setting: going with all of them.
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \