summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-04-22 12:51:26 -0400
committerRobert Maynard <rmaynard@nvidia.com>2022-07-22 10:34:45 -0400
commit96bc59b1ca01be231347404d178445263687dd22 (patch)
treed9c015f30a1e43f0d5ded6dc75a638471f085ed6 /Help
parent1527d48cd0071e3e1737b51db3738f7f76ddbf80 (diff)
downloadcmake-96bc59b1ca01be231347404d178445263687dd22.tar.gz
CUDA: Add Device LTO support for nvcc
Fixes #22200
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/cuda-device-lto.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/cuda-device-lto.rst b/Help/release/dev/cuda-device-lto.rst
new file mode 100644
index 0000000000..113062b49b
--- /dev/null
+++ b/Help/release/dev/cuda-device-lto.rst
@@ -0,0 +1,7 @@
+cuda-device-lto
+---------------
+
+* ``CUDA`` language now supports device link time optimization when using
+ ``nvcc``. The :variable:`CMAKE_INTERPROCEDURAL_OPTIMIZATION` variable and
+ the associated :prop_tgt:`INTERPROCEDURAL_OPTIMIZATION` target property will
+ activate device LTO.