Skip to content

Commit

Permalink
[CUDA] Clarify that -l and -L only need to be passed when linking, in…
Browse files Browse the repository at this point in the history
… CompileCudaWithLLVM.rst.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280868 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Justin Lebar committed Sep 7, 2016
1 parent 70425af commit 6676095
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/CompileCudaWithLLVM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------------------------

Expand Down

0 comments on commit 6676095

Please sign in to comment.