summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2021-09-15 20:33:41 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-16 18:41:30 (GMT)
commit735f41fc2d91bac11506ebf355136b0dbd8ac8c7 (patch)
tree86c84e0476c7698ae4866c07e8b2429123a45089 /Help
parent64aac043eed8a58e69b1b7952086cdfa73cd3cac (diff)
downloadCMake-735f41fc2d91bac11506ebf355136b0dbd8ac8c7.zip
CMake-735f41fc2d91bac11506ebf355136b0dbd8ac8c7.tar.gz
CMake-735f41fc2d91bac11506ebf355136b0dbd8ac8c7.tar.bz2
HIP: Use 'rocm_agent_enumerator' to determine CMAKE_HIP_ARCHITECTURES
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_HIP_ARCHITECTURES.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_HIP_ARCHITECTURES.rst b/Help/variable/CMAKE_HIP_ARCHITECTURES.rst
index 0cf0201..bcc6b35 100644
--- a/Help/variable/CMAKE_HIP_ARCHITECTURES.rst
+++ b/Help/variable/CMAKE_HIP_ARCHITECTURES.rst
@@ -5,7 +5,8 @@ CMAKE_HIP_ARCHITECTURES
Default value for :prop_tgt:`HIP_ARCHITECTURES` property of targets.
-This is initialized to the default architecture chosen by the compiler.
+This is initialized to the architectures reported by ``rocm_agent_enumerator``,
+if available, and otherwise to the default chosen by the compiler.
This variable is used to initialize the :prop_tgt:`HIP_ARCHITECTURES` property
on all targets. See the target property for additional information.