diff options
author | Brad King <brad.king@kitware.com> | 2021-09-20 16:38:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-09-20 16:38:44 (GMT) |
commit | 36966f63ca9b43e5e2c8d7e9e0264181499734b1 (patch) | |
tree | 671ddcea389f71feaf0f4c12106144d0d830d39b /Tests | |
parent | c03a216ca8b8fd3e01ddd3178cadacbdd5191203 (diff) | |
parent | cb93f7262469d0f7e1b7da01ad3586d001234af2 (diff) | |
download | CMake-36966f63ca9b43e5e2c8d7e9e0264181499734b1.zip CMake-36966f63ca9b43e5e2c8d7e9e0264181499734b1.tar.gz CMake-36966f63ca9b43e5e2c8d7e9e0264181499734b1.tar.bz2 |
Merge topic 'hip-no-hipcc'
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
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/HIP/WithDefs/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/HIP/WithDefs/CMakeLists.txt b/Tests/HIP/WithDefs/CMakeLists.txt index e2db182..270f957 100644 --- a/Tests/HIP/WithDefs/CMakeLists.txt +++ b/Tests/HIP/WithDefs/CMakeLists.txt @@ -19,7 +19,7 @@ target_compile_options(HIPOnlyWithDefs PRIVATE --offload-arch=gfx900 -DFLAG_COMPILE_LANG_$<COMPILE_LANGUAGE> - $<$<HIP_COMPILER_ID:ROCMClang>:-DFLAG_LANG_IS_HIP=$<COMPILE_LANGUAGE:HIP>> # Host-only defines are possible only on NVCC. + $<$<HIP_COMPILER_ID:Clang>:-DFLAG_LANG_IS_HIP=$<COMPILE_LANGUAGE:HIP>> # Host-only defines are possible only on NVCC. ) target_compile_definitions(HIPOnlyWithDefs |