projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c10257
)
[CUDA] Clarify that -l and -L only need to be passed when linking, in CompileCudaWith...
author
Justin Lebar
<jlebar@google.com>
Wed, 7 Sep 2016 21:46:49 +0000
(21:46 +0000)
committer
Justin Lebar
<jlebar@google.com>
Wed, 7 Sep 2016 21:46:49 +0000
(21:46 +0000)
llvm-svn: 280868
llvm/docs/CompileCudaWithLLVM.rst
patch
|
blob
|
history
diff --git
a/llvm/docs/CompileCudaWithLLVM.rst
b/llvm/docs/CompileCudaWithLLVM.rst
index a7f41ed2366c57ed711ec8c5bb5587e4a3937e12..1751bfbdc895f79aae81729450ad3ce9feed9853 100644
(file)
--- 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
---------------------------------