diff --git a/docs/CompileCudaWithLLVM.rst b/docs/CompileCudaWithLLVM.rst index 8b29624d65d..af681aeead6 100644 --- a/docs/CompileCudaWithLLVM.rst +++ b/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. + * ```` -- the directory where you installed CUDA SDK. Typically, ``/usr/local/cuda``.