From ea017533436e566214d2717f011d5b377cd304fd Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Thu, 13 Jun 2019 16:32:10 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a5f2bf..6b08c84 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Depending on your installed CUDA, you'll need a different version of clang. | CUDA | Clang | Installer | |-|-|-| | 9.2 | 5.0.0 | https://gist.github.com/cwpearson/c5521dfc50175b1d977643b2fc5a2bb1 | -| 10.1 | 8.0.0 | https://gist.github.com/cwpearson/fc91b92c3d49d75a1b3a559aacb1d38e | +| 10.1 | 7.1.0 | https://gist.github.com/cwpearson/c13ac7c25bde8c8644300e211faf4e78 | Add the clang to your path, and have CMake use clang in the build. @@ -82,5 +82,5 @@ Add the clang to your path, and have CMake use clang in the build. mkdir build && cd build cmake .. -DCMAKE_TOOLCHAIN_FILE=`readlink -f ../toolchains/clang.toolchain` ``` - +The CUDA documentation claims that clang 8.0.0 is supported for CUDA 10.1, but if you actually try it says it requires clang>=3.2 and clang<8. From 42f84b23feb439eae24992e2d4d6f1ccb2124d20 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Thu, 13 Jun 2019 16:39:28 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b08c84..531dd81 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Depending on your installed CUDA, you'll need a different version of clang. | CUDA | Clang | Installer | |-|-|-| | 9.2 | 5.0.0 | https://gist.github.com/cwpearson/c5521dfc50175b1d977643b2fc5a2bb1 | -| 10.1 | 7.1.0 | https://gist.github.com/cwpearson/c13ac7c25bde8c8644300e211faf4e78 | +| 10.1 | 5.0.0 | https://gist.github.com/cwpearson/c13ac7c25bde8c8644300e211faf4e78 | Add the clang to your path, and have CMake use clang in the build. @@ -82,5 +82,5 @@ Add the clang to your path, and have CMake use clang in the build. mkdir build && cd build cmake .. -DCMAKE_TOOLCHAIN_FILE=`readlink -f ../toolchains/clang.toolchain` ``` -The CUDA documentation claims that clang 8.0.0 is supported for CUDA 10.1, but if you actually try it says it requires clang>=3.2 and clang<8. +The CUDA documentation claims that clang 8.0.0 is supported for CUDA 10.1, but if you actually try it says it requires clang>=3.2 and clang<8. Clang 7.1.0 fails on CUDA 10.0.0 with some errors about `__fp16`.