From 799a6f551237956281c773c77cef5734d67e7582 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Mon, 1 Apr 2019 19:44:52 +0300 Subject: [PATCH] [HIPIFY][cmake] Update CMakeLists and Readme cause CUDA 10.1 and clang 8.0.0 are released --- hipamd/hipify-clang/CMakeLists.txt | 4 +++- hipamd/hipify-clang/README.md | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hipamd/hipify-clang/CMakeLists.txt b/hipamd/hipify-clang/CMakeLists.txt index 81b593a25a..e1fba870e4 100644 --- a/hipamd/hipify-clang/CMakeLists.txt +++ b/hipamd/hipify-clang/CMakeLists.txt @@ -108,7 +108,7 @@ if (HIPIFY_CLANG_TESTS) (CUDA_VERSION VERSION_GREATER "7.5" AND LLVM_PACKAGE_VERSION VERSION_LESS "4.0") OR (CUDA_VERSION VERSION_GREATER "8.0" AND LLVM_PACKAGE_VERSION VERSION_LESS "6.0") OR (CUDA_VERSION VERSION_GREATER "9.0" AND LLVM_PACKAGE_VERSION VERSION_LESS "7.0") OR - CUDA_VERSION VERSION_EQUAL "10.0") + (CUDA_VERSION VERSION_GREATER "10.1" AND LLVM_PACKAGE_VERSION VERSION_LESS "8.0")) message(SEND_ERROR "CUDA ${CUDA_VERSION} is not supported by clang ${LLVM_PACKAGE_VERSION}.") if (CUDA_VERSION VERSION_LESS "7.0") message(STATUS "Please install CUDA 7.0 or higher.") @@ -120,6 +120,8 @@ if (HIPIFY_CLANG_TESTS) message(STATUS "Please install clang 6.0 or higher.") elseif ((CUDA_VERSION VERSION_EQUAL "9.1") OR (CUDA_VERSION VERSION_EQUAL "9.2")) message(STATUS "Please install clang 7.0 or higher.") + elseif ((CUDA_VERSION VERSION_EQUAL "10.0") OR (CUDA_VERSION VERSION_EQUAL "10.1")) + message(STATUS "Please install clang 8.0 or higher.") endif() endif() diff --git a/hipamd/hipify-clang/README.md b/hipamd/hipify-clang/README.md index ee25b23f2d..5fc14a97c1 100644 --- a/hipamd/hipify-clang/README.md +++ b/hipamd/hipify-clang/README.md @@ -52,7 +52,8 @@ | 7.0.0 | 9.2 | -
not working due to
the clang's bug [38811](https://bugs.llvm.org/show_bug.cgi?id=38811) | -
not working due to
the clang's bug [36384](https://bugs.llvm.org/show_bug.cgi?id=36384) | | 7.0.1 | 9.2 | -
not working due to
the clang's bug [38811](https://bugs.llvm.org/show_bug.cgi?id=38811) | -
not working due to
the clang's bug [36384](https://bugs.llvm.org/show_bug.cgi?id=36384) | | 7.1.0 | 9.2 (?) | -
LLVM 7.1.0
is not yet released | -
LLVM 7.1.0
is not yet released | -| 8.0.0 | 10.0 (?) | -
LLVM 8.0.0
is not yet released | -
LLVM 8.0.0
is not yet released | +| 8.0.0 | 10.1 | -
not working due to
the clang's bug [38811](https://bugs.llvm.org/show_bug.cgi?id=38811) | -
not working due to
the clang's bug [36384](https://bugs.llvm.org/show_bug.cgi?id=36384) | +| 8.0.1 | 10.1 | -
LLVM 8.0.1
is not yet released | -
LLVM 8.0.1
is not yet released | In most cases, you can get a suitable version of LLVM+CLANG with your package manager.