mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
Merge topic 'add_hip_language'
8514ee9b31HIP: analyze output of `hipcc` to determine default GPU architecture20d086f1a2HIP: All HIP tests now run on CMake's current AMD hardware2e86e50c2fHIP: Add HIP to all the Check* modules947dbed0aaHIP: Automatically inject the `hip::device` runtime targetb50bfc8913HIP: Add language to CMakeff0d2858e1HIP: Extract clang compiler details from hipccbd844387dfROCMClang: Add the ROCm toolkit derived clang compiler to CMake590553f322Compilers: protect use of __has_include ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !6121
This commit is contained in:
11
Help/variable/CMAKE_HIP_ARCHITECTURES.rst
Normal file
11
Help/variable/CMAKE_HIP_ARCHITECTURES.rst
Normal file
@@ -0,0 +1,11 @@
|
||||
CMAKE_HIP_ARCHITECTURES
|
||||
-----------------------
|
||||
|
||||
.. versionadded:: 3.21
|
||||
|
||||
Default value for :prop_tgt:`HIP_ARCHITECTURES` property of targets.
|
||||
|
||||
This is initialized to the default architecture 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.
|
||||
@@ -34,6 +34,7 @@ include:
|
||||
OpenWatcom = Open Watcom (openwatcom.org)
|
||||
PGI = The Portland Group (pgroup.com)
|
||||
PathScale = PathScale (pathscale.com)
|
||||
ROCMClang = ROCm Toolkit Clang-based Compiler (rocmdocs.amd.com)
|
||||
SDCC = Small Device C Compiler (sdcc.sourceforge.net)
|
||||
SunPro = Oracle Solaris Studio (oracle.com)
|
||||
TI = Texas Instruments (ti.com)
|
||||
|
||||
@@ -6,7 +6,7 @@ CMAKE_<LANG>_COMPILER_LAUNCHER
|
||||
Default value for :prop_tgt:`<LANG>_COMPILER_LAUNCHER` target property.
|
||||
This variable is used to initialize the property on each target as it is
|
||||
created. This is done only when ``<LANG>`` is ``C``, ``CXX``, ``Fortran``,
|
||||
``ISPC``, ``OBJC``, ``OBJCXX``, or ``CUDA``.
|
||||
``HIP``, ``ISPC``, ``OBJC``, ``OBJCXX``, or ``CUDA``.
|
||||
|
||||
This variable is initialized to the :envvar:`CMAKE_<LANG>_COMPILER_LAUNCHER`
|
||||
environment variable if it is set.
|
||||
|
||||
Reference in New Issue
Block a user