diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2021-05-27 18:03:51 (GMT) |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2021-06-07 19:25:34 (GMT) |
commit | 8514ee9b315b4ad02eed0e3cf11d8579f307fac0 (patch) | |
tree | df30dd3b7d79440fad1319bcbce9889de8686461 /Help/prop_tgt | |
parent | 20d086f1a2c320da59830682a19e006ec19dca94 (diff) | |
download | CMake-8514ee9b315b4ad02eed0e3cf11d8579f307fac0.zip CMake-8514ee9b315b4ad02eed0e3cf11d8579f307fac0.tar.gz CMake-8514ee9b315b4ad02eed0e3cf11d8579f307fac0.tar.bz2 |
HIP: analyze output of `hipcc` to determine default GPU architecture
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/HIP_ARCHITECTURES.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/prop_tgt/HIP_ARCHITECTURES.rst b/Help/prop_tgt/HIP_ARCHITECTURES.rst index 052f472..06f956b 100644 --- a/Help/prop_tgt/HIP_ARCHITECTURES.rst +++ b/Help/prop_tgt/HIP_ARCHITECTURES.rst @@ -5,8 +5,9 @@ HIP_ARCHITECTURES List of AMD GPU architectures to generate device code for. -An empty or false value (e.g. ``OFF``) defers architecture generation to compiler -defaults. +A non-empty false value (e.g. ``OFF``) disables adding architectures. +This is intended to support packagers and rare cases where full control +over the passed flags is required. This property is initialized by the value of the :variable:`CMAKE_HIP_ARCHITECTURES` variable if it is set when a target is created. |