Unverified Commit 8a1313ca authored by wang jiahao's avatar wang jiahao Committed by GitHub
Browse files

Merge pull request #1044 from 255doesnotexist/patch-1

📝 Docs: Clarify CMake version requirement for CUDA dialects
parents 6617549d 578d3d9d
......@@ -38,7 +38,8 @@ Some preparation:
export CUDA_PATH=$CUDA_PATH:/usr/local/cuda
fi
```
- Linux-x86_64 with gcc, g++ and cmake (using Ubuntu as an example)
- Linux-x86_64 with gcc, g++>=11 and cmake>=3.25 (using Ubuntu as an example)
- **Note**: The default CMake version in Ubuntu 22.04 LTS or higher may not support newer CUDA language dialects (e.g., CUDA 20). This can cause errors such as Target "cmTC_xxxxxx" requires the language dialect "CUDA20", but CMake does not know the compile flags to use to enable it. To resolve this, install a newer CMake version, for instance, by adding the Kitware APT repository.
```sh
sudo apt-get update
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment