diff options
author | Brad King <brad.king@kitware.com> | 2019-10-14 20:18:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-14 20:18:08 (GMT) |
commit | 74035b0ad4eb2eccf6537d6348afeb5d63222b5d (patch) | |
tree | 133dc28fad6d3a0127ab3f3b7b572d2d016ddee3 | |
parent | 6847d81856be2337d24d4db04fc3d23f43122c82 (diff) | |
parent | db5a8d78761e59d43db2b463a8f8aaa5e7d2be48 (diff) | |
download | CMake-74035b0ad4eb2eccf6537d6348afeb5d63222b5d.zip CMake-74035b0ad4eb2eccf6537d6348afeb5d63222b5d.tar.gz CMake-74035b0ad4eb2eccf6537d6348afeb5d63222b5d.tar.bz2 |
Merge branch 'FindOpenMP-clang-HIP-device' into release-3.16
Merge-request: !3911
-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 |