Skip to content

Commit

Permalink
[CUDA] Note in docs that you need to build with -lcudart on MacOS
Browse files Browse the repository at this point in the history
-lcudart_static doesn't work.  We don't know why.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287715 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Justin Lebar committed Nov 22, 2016
1 parent 68d10b6 commit ac4f8e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/CompileCudaWithLLVM.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ brackets as described below:
y[2] = 6
y[3] = 8
On MacOS, replace `-lcudart_static` with `-lcudart`; otherwise, you may get
"CUDA driver version is insufficient for CUDA runtime version" errors when you
run your program.

* ``<CUDA install path>`` -- the directory where you installed CUDA SDK.
Typically, ``/usr/local/cuda``.

Expand Down

0 comments on commit ac4f8e1

Please sign in to comment.