Skip to content

Commit

Permalink
Bump -std from 14 to 17 in `./ci/(build|test)_cub.sh examples. (#3792)
Browse files Browse the repository at this point in the history
14 no longer works; 17 does.  Additionally, remove references to 11 and
14 in the `CXX_STANDARD` env var example.
  • Loading branch information
tpn authored Feb 13, 2025
1 parent c27d887 commit 02b7245
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ Use the build scripts provided in the `ci/` directory to build tests for each co
ci/build_[thrust|cub|libcudacxx].sh -cxx <HOST_COMPILER> -std <CXX_STANDARD> -arch <GPU_ARCHS>

- **HOST_COMPILER**: The desired host compiler (e.g., `g++`, `clang++`).
- **CXX_STANDARD**: The C++ standard version (e.g., `11`, `14`, `17`, `20`).
- **CXX_STANDARD**: The C++ standard version (e.g., `17`, `20`).
- **GPU_ARCHS**: A semicolon-separated list of CUDA GPU architectures (e.g., `"70;85;90"`). This uses the same syntax as CMake's [CUDA_ARCHITECTURES](https://cmake.org/cmake/help/latest/prop_tgt/CUDA_ARCHITECTURES.html#prop_tgt:CUDA_ARCHITECTURES):
- `70` - both PTX and SASS
- `70-real` - SASS only
- `70-virtual` - PTX only
**Example:**
```bash
./ci/build_cub.sh -cxx g++ -std 14 -arch "70;75;80-virtual"
./ci/build_cub.sh -cxx g++ -std 17 -arch "70;75;80-virtual"
```
#### Testing
Expand All @@ -100,7 +100,7 @@ Use the test scripts provided in the `ci/` directory to run tests for each compo
**Example:**

```bash
./ci/test_cub.sh -cxx g++ -std 14 -arch "70;75;80-virtual"
./ci/test_cub.sh -cxx g++ -std 17 -arch "70;75;80-virtual"
```

### Using CMake Presets
Expand Down

0 comments on commit 02b7245

Please sign in to comment.