Updates for CUTLASS 3.5.0 (#1468)
This commit is contained in:
@@ -36,17 +36,17 @@ is the following error when attempting to use clang:
|
||||
## Required CMake options
|
||||
|
||||
The Clang build requires specifying the following CMake options.
|
||||
Replace `<path-to-clang++>` with the path to your `clang++` executable,
|
||||
and replace `<path-to-clang>` with the path to your `clang` executable
|
||||
(which must have the same version as your `clang++` executable).
|
||||
You may use `clang++` resp. `clang` directly if they are in your `PATH`.
|
||||
Replace `<path-to-clang++>` with the path to your `clang++` executable.
|
||||
You may use `clang++` directly if it is in your `PATH`.
|
||||
|
||||
* `CMAKE_CXX_COMPILER=<path-to-clang++>`
|
||||
* `CMAKE_CUDA_HOST_COMPILER=<path-to-clang++>`
|
||||
* `CMAKE_C_COMPILER=<path-to-clang>`
|
||||
|
||||
Please note that both `CMAKE_CXX_COMPILER` and `CMAKE_C_COMPILER`
|
||||
must be set, even though CUTLASS is a C++ project, not a C project.
|
||||
One must set both! It's not enough just to set the `CXX` environment
|
||||
variable, for example. Symptoms of only setting `CMAKE_CXX_COMPILER`
|
||||
(or only setting the `CXX` environment variable) include `cc1plus`
|
||||
(GCC's compiler executable) reporting build errors due to it not
|
||||
understanding Clang's command-line options.
|
||||
|
||||
Users can also specify a particular CUDA Toolkit version
|
||||
by setting the CMake option `CMAKE_CUDA_COMPILER`
|
||||
|
||||
Reference in New Issue
Block a user