1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02:00

[CUDA] Note in docs that you need to build with -lcudart on MacOS

-lcudart_static doesn't work.  We don't know why.

llvm-svn: 287715
This commit is contained in:
Justin Lebar 2016-11-22 23:13:29 +00:00
parent 51362a8242
commit 4e42ce7138

View File

@ -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``.