summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeHIPInformation.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'hip-no-hipcc'Brad King2021-09-201-4/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | cb93f72624 HIP: Simplify detection of HIP runtime CMake package a71f0fc9c7 HIP: Remove ROMClang compiler id and use Clang directly b125e9809a HIP: Detect ROCm path earlier 735f41fc2d HIP: Use 'rocm_agent_enumerator' to determine CMAKE_HIP_ARCHITECTURES Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !6533
| * HIP: Simplify detection of HIP runtime CMake packageBrad King2021-09-161-4/+7
| | | | | | | | | | | | | | It only makes sense to use the CMake package from the same ROCm installation that the compiler uses. Ask the HIP compiler to report the location of the ROCm installation. Verify up front that it contains the expected CMake package file.
* | LINK_WHAT_YOU_USE feature: externalize configurationMarc Chevrier2021-07-091-0/+9
|/ | | | | | | | Currently, this feature is only supported on ELF platforms. So, the property LINK_WHAT_YOU_USE will be ignored for other plateforms. Moreover, flags and commands are now controled by CMake variables. Fixes: #20174
* HIP: Automatically inject the `hip::device` runtime targetRobert Maynard2021-06-071-0/+7
| | | | | Any target that might need to link to hip code needs the `hip::device` target
* HIP: Add language to CMakeRobert Maynard2021-06-071-0/+132