Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson authored Jun 13, 2019
1 parent ea01753 commit 42f84b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ 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.

```
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`.

0 comments on commit 42f84b2

Please sign in to comment.