diff options
author | James Bigler <jamesbigler@gmail.com> | 2015-03-31 20:13:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-03 14:15:17 (GMT) |
commit | 7fea2b77df2d70283f4918a8ff52836dbc68db6b (patch) | |
tree | e68a8e3731e9d3ddee09b078f5d56e4545363c31 /Help | |
parent | 00214357ba6166d829da68a65c0d50a61c663bd5 (diff) | |
download | CMake-7fea2b77df2d70283f4918a8ff52836dbc68db6b.zip CMake-7fea2b77df2d70283f4918a8ff52836dbc68db6b.tar.gz CMake-7fea2b77df2d70283f4918a8ff52836dbc68db6b.tar.bz2 |
FindCUDA: Use the static CUDA runtime library if available (#15482)
Beginning in CUDA 5.5 a static version of the cuda runtime library
became available. Since nvcc defaults to using this library over the
shared version, FindCUDA will also default to using this version. There
are many advantages to using the static version (most importantly to
avoid conflicts with multiple versions when building a CUDA based
library). Offer a CUDA_USE_STATIC_CUDA_RUNTIME option to control
this behavior.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/FindCUDA-StaticRuntime.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/FindCUDA-StaticRuntime.rst b/Help/release/dev/FindCUDA-StaticRuntime.rst new file mode 100644 index 0000000..112596c --- /dev/null +++ b/Help/release/dev/FindCUDA-StaticRuntime.rst @@ -0,0 +1,7 @@ +FindCUDA-StaticRuntime +---------------------- + +* The :module:`FindCUDA` module now defaults to using the static + CUDA runtime library if it is available. A new + ``CUDA_USE_STATIC_CUDA_RUNTIME`` option is offered to control + this behavior. |