summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-09-07 21:46:49 +0000
committerJustin Lebar <jlebar@google.com>2016-09-07 21:46:49 +0000
commitb5cb9dfbf19c1be37989fdb88ff670e5bd48da40 (patch)
tree2f0abce82d1beaec3ee86d51cc00268e9f9604cf /llvm/docs
parent1c10257cb21b7dd70685d15988ba9afa18b1b21c (diff)
downloadbcm5719-llvm-b5cb9dfbf19c1be37989fdb88ff670e5bd48da40.tar.gz
bcm5719-llvm-b5cb9dfbf19c1be37989fdb88ff670e5bd48da40.zip
[CUDA] Clarify that -l and -L only need to be passed when linking, in CompileCudaWithLLVM.rst.
llvm-svn: 280868
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CompileCudaWithLLVM.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/CompileCudaWithLLVM.rst b/llvm/docs/CompileCudaWithLLVM.rst
index a7f41ed2366..1751bfbdc89 100644
--- a/llvm/docs/CompileCudaWithLLVM.rst
+++ b/llvm/docs/CompileCudaWithLLVM.rst
@@ -81,6 +81,11 @@ brackets as described below:
You can pass ``--cuda-gpu-arch`` multiple times to compile for multiple archs.
+The `-L` and `-l` flags only need to be passed when linking. When compiling,
+you may also need to pass ``--cuda-path=/path/to/cuda`` if you didn't install
+the CUDA SDK into ``/usr/local/cuda``, ``/usr/local/cuda-7.0``, or
+``/usr/local/cuda-7.5``.
+
Flags that control numerical code
---------------------------------
OpenPOWER on IntegriCloud