Skip to content

Commit 02b7245

Browse files
authored
Bump -std from 14 to 17 in `./ci/(build|test)_cub.sh examples. (NVIDIA#3792)
14 no longer works; 17 does. Additionally, remove references to 11 and 14 in the `CXX_STANDARD` env var example.
1 parent c27d887 commit 02b7245

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ Use the build scripts provided in the `ci/` directory to build tests for each co
7878
ci/build_[thrust|cub|libcudacxx].sh -cxx <HOST_COMPILER> -std <CXX_STANDARD> -arch <GPU_ARCHS>
7979

8080
- **HOST_COMPILER**: The desired host compiler (e.g., `g++`, `clang++`).
81-
- **CXX_STANDARD**: The C++ standard version (e.g., `11`, `14`, `17`, `20`).
81+
- **CXX_STANDARD**: The C++ standard version (e.g., `17`, `20`).
8282
- **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):
8383
- `70` - both PTX and SASS
8484
- `70-real` - SASS only
8585
- `70-virtual` - PTX only
8686
8787
**Example:**
8888
```bash
89-
./ci/build_cub.sh -cxx g++ -std 14 -arch "70;75;80-virtual"
89+
./ci/build_cub.sh -cxx g++ -std 17 -arch "70;75;80-virtual"
9090
```
9191
9292
#### Testing
@@ -100,7 +100,7 @@ Use the test scripts provided in the `ci/` directory to run tests for each compo
100100
**Example:**
101101

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

106106
### Using CMake Presets

0 commit comments

Comments
 (0)