Updates for CUTLASS 3.5.0 (#1468)

This commit is contained in:
Vijay Thakkar
2024-04-11 21:33:40 -04:00
committed by GitHub
parent a40e08e9d5
commit 7d49e6c7e2
171 changed files with 7526 additions and 1888 deletions
+7 -7
View File
@@ -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`