diff options
author | Brad King <brad.king@kitware.com> | 2019-10-15 15:13:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-10-15 15:13:10 (GMT) |
commit | e14518ec4507b008a4a1b842bb14a8587aacf055 (patch) | |
tree | 0457a64185e9033005203592e101646252f02d52 /Modules | |
parent | daf6a6ba68a6fa1c5d1956f151104d903f3447cc (diff) | |
parent | db5a8d78761e59d43db2b463a8f8aaa5e7d2be48 (diff) | |
download | CMake-e14518ec4507b008a4a1b842bb14a8587aacf055.zip CMake-e14518ec4507b008a4a1b842bb14a8587aacf055.tar.gz CMake-e14518ec4507b008a4a1b842bb14a8587aacf055.tar.bz2 |
Merge topic 'FindOpenMP-clang-HIP-device'
db5a8d7876 FindOpenMP: Add support for HIP clang device pass
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3911
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindOpenMP.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake index def23bb..ab9d73a 100644 --- a/Modules/FindOpenMP.cmake +++ b/Modules/FindOpenMP.cmake @@ -128,6 +128,8 @@ int main(void) { #ifdef _OPENMP omp_get_max_threads(); return 0; +#elif defined(__HIP_DEVICE_COMPILE__) + return 0; #else breaks_on_purpose #endif |