Use C++20 standard#749
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
cpp/benchmarks/CMakeLists.txt
Outdated
| PROPERTIES INSTALL_RPATH "\$ORIGIN/../../../lib" | ||
| CXX_STANDARD 20 | ||
| CXX_STANDARD_REQUIRED ON | ||
| # For std:: support of __int128_t. Can be removed once using cuda::std |
There was a problem hiding this comment.
What actions do we need to take here? Where does kvikio use __int128_t? I think we want to move to cuda::std or remove the CXX_EXTENSIONS ON if not needed.
There was a problem hiding this comment.
Please also remove this from cpp/tests/CMakeLists.txt, it seems like a copy-paste from cudf that is unnecessary in kvikio.
There was a problem hiding this comment.
Thanks. Done.
cpp/benchmarks/CMakeLists.txt
Outdated
| PROPERTIES INSTALL_RPATH "\$ORIGIN/../../../lib" | ||
| CXX_STANDARD 20 | ||
| CXX_STANDARD_REQUIRED ON | ||
| CXX_EXTENSIONS ON |
There was a problem hiding this comment.
Please remove this. This was the line indicated by the comment about int128 support.
| CXX_EXTENSIONS ON |
There was a problem hiding this comment.
I see. Done.
cpp/tests/CMakeLists.txt
Outdated
| CXX_STANDARD 20 | ||
| CXX_STANDARD_REQUIRED ON | ||
| # For std:: support of __int128_t. Can be removed once using cuda::std | ||
| CXX_EXTENSIONS ON |
There was a problem hiding this comment.
| CXX_EXTENSIONS ON |
|
/merge |
Building 25.10 wheels packages fail due to the use of GCC 14, rapidsai/kvikio#749 implements a fix for that case that will probably fix it here as well. Authors: - Peter Andreas Entschev (https://github.com/pentschev) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: #396
Previous PR #749 forgets to bring the entrée to the table: Only the C++ code in tests and benchmarks use C++20, but not the main library. This PR fixes this oversight. Authors: - Tianyu Liu (https://github.com/kingcrimsontianyu) Approvers: - Mads R. B. Kristensen (https://github.com/madsbk) URL: #819
This PR changes KvikIO C++ standard from 17 to 20.
Depends on #751