Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 88ec5b8

Browse files
authored
Merge pull request #1759 from allisonvacanti/cpp20
Add option to build with C++20.
2 parents f3c28da + 5f73586 commit 88ec5b8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmake/ThrustBuildTargetList.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# - <prop> is one of the following:
2020
# - HOST: The host system. Valid values: CPP, OMP, TBB.
2121
# - DEVICE: The device system. Valid values: CUDA, CPP, OMP, TBB.
22-
# - DIALECT: The C++ dialect. Valid values: 11, 14, 17.
22+
# - DIALECT: The C++ dialect. Valid values: 11, 14, 17, 20.
2323
# - PREFIX: A unique prefix that should be used to name all
2424
# targets/tests/examples that use this configuration.
2525
#

cmake/ThrustMultiConfig.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function(thrust_configure_multiconfig)
77

88
# Dialects:
99
set(THRUST_CPP_DIALECT_OPTIONS
10-
11 14 17
10+
11 14 17 20
1111
CACHE INTERNAL "C++ dialects supported by Thrust." FORCE
1212
)
1313

dependencies/cub

0 commit comments

Comments
 (0)