diff options
author | Justin Lebar <jlebar@google.com> | 2016-11-22 23:13:29 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-11-22 23:13:29 +0000 |
commit | e8c45e9f50db5fb28102aef6b444676076150766 (patch) | |
tree | e0e067689cba725dd123d3c40f767eac4e951ce0 /llvm/docs/CompileCudaWithLLVM.rst | |
parent | 3cc93d7a5338dd97ccc82ce2b30bc12bb948a961 (diff) | |
download | bcm5719-llvm-e8c45e9f50db5fb28102aef6b444676076150766.tar.gz bcm5719-llvm-e8c45e9f50db5fb28102aef6b444676076150766.zip |
[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
Diffstat (limited to 'llvm/docs/CompileCudaWithLLVM.rst')
-rw-r--r-- | llvm/docs/CompileCudaWithLLVM.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CompileCudaWithLLVM.rst b/llvm/docs/CompileCudaWithLLVM.rst index 8b29624d65d..af681aeead6 100644 --- a/llvm/docs/CompileCudaWithLLVM.rst +++ b/llvm/docs/CompileCudaWithLLVM.rst @@ -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``. |