Update to C++20 #27178

edgchen1 merged 70 commits into main from edgchen1/cpp20
edgchen1
edgchen1 Update to C++20.
58846377
edgchen1 Fix ostream::operator<< usage with wchar_t*.
98c31aef
edgchen1 try to fix time_point output operator availability check
9171d14e
edgchen1 add back Apple stuff and handle IOS
92b3334f
edgchen1 make Timestamp a separate type and implement stream insertion operato…
831ae91a
edgchen1 move date.h dependency into logging.cc
1e2ad83b
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20_fix
2213158b
edgchen1 add exception for MSVC CUDA EP build for now...
dad1617c
edgchen1 add wostream overloads for Timestamp operator<<
7f34d3bf
edgchen1 use std::filesystem::path:string instead of u8string in onnxruntime/c…
ad1aab81
edgchen1 don't build android from Docker in minimal build workflow
848c8b17
edgchen1 disable C++20 when onnxruntime_USE_CUDA is enabled for all builds, up…
2c78745f
edgchen1 update comment again
a035d7f0
edgchen1
edgchen1 commented on 2026-02-02
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
d3393906
edgchen1 edgchen1 changed the title [WIP] Update onnxruntime to C++20 Enable C++20 for more builds 67 days ago
edgchen1 tweak comment
06fec4fa
edgchen1 edgchen1 marked this pull request as ready for review 67 days ago
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
9b1cdb19
edgchen1 DEBUG: CMake generate tracing
7ec3538f
edgchen1 try disabling module scan for Android QNN
79de47aa
edgchen1 Revert "DEBUG: CMake generate tracing"
2ef0bdbf
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20_fix
270f4119
edgchen1
edgchen1 commented on 2026-02-14
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
ec5d52ed
edgchen1 add cutlass issue link
4d22c087
fs-eire
fs-eire commented on 2026-02-25
skottmckay
skottmckay commented on 2026-02-25
edgchen1 move cmake code around so that options and setting of CMAKE_CXX_STAND…
282545bd
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
ee253215
edgchen1 edgchen1 requested a review from skottmckay skottmckay 43 days ago
edgchen1 edgchen1 requested a review from fs-eire fs-eire 43 days ago
fs-eire fs-eire requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 43 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-02-28
fs-eire
fs-eire dismissed these changes on 2026-02-28
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
7cc02cf7
edgchen1 vitisai global_api.cc - use onnxruntime::ToUTF8String on model path
9c21b3fb
edgchen1 edgchen1 dismissed their stale review via 9c21b3fb 40 days ago
fs-eire
fs-eire dismissed these changes on 2026-03-02
edgchen1
edgchen1 commented on 2026-03-02
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
f13bee29
edgchen1 edgchen1 dismissed their stale review via f13bee29 38 days ago
edgchen1 try C++20 for everything, pass /permissive to CUDA MSVC build
55436365
edgchen1 edgchen1 marked this pull request as draft 38 days ago
edgchen1 try adding /permissive another way, update CUDA_STANDARD to 20 too
1a8f8973
edgchen1 add CUDA language /permissive too
f2fcee0a
edgchen1 change GridDim::maxThreadsPerBlock and GridDim::maxElementsPerThread …
5873aee8
edgchen1 cutlass patch to work around error
99f245fb
edgchen1 move #177 warning suppression to CUDA 12.8+ section
042b504c
edgchen1 edgchen1 changed the title Enable C++20 for more builds Update to C++20 38 days ago
edgchen1 undo CMake code moving around
bacffa2f
edgchen1 break long line
b4aca518
edgchen1 update patch file for line length
e6297ffe
edgchen1 fix patch file
6d7ff32d
edgchen1 don't use deprecated move_iterator operator->
8dbb80f9
edgchen1 edgchen1 requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 38 days ago
edgchen1
edgchen1 commented on 2026-03-05
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-03-05
edgchen1 try to suppress spurious stringop-overflow warning
6f801b2f
edgchen1 add comment
f5c4222d
edgchen1 try to make suppression very local
294dbd3b
edgchen1 indent comment and formatting
bddc3aca
edgchen1 set CMAKE_CXX_SCAN_FOR_MODULES in CMakeLists.txt
73019d4b
edgchen1 clarify comment about cxx_std_17 feature
d3b2ff95
edgchen1 update some lingering old CXX_STANDARD values. let's see what happens...
90b2c73a
edgchen1 move --diag-suppress=177 out of CUDA 12.8+ block
0d613a31
edgchen1 update vcpkg_helpers.py to pass module scanning option too
291f0a00
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20_fix
cfa3ea88
edgchen1 add 'this' to '=' lambda capture. implicit capture of 'this' with '='…
edcc9a4d
edgchen1 debugging - split out cuda python builds into single cuda arch builds
c99ed4eb
edgchen1 fix stage name
754418b6
edgchen1 move StatusCodeToHRESULT to its own file so we don't need to include …
d4e3a88f
edgchen1 add MSVC /Zc:preprocessor option
a5b6582c
edgchen1 move cub/cub.cuh include to cu_inc/cub.cuh wrapper, put it in cu_inc/…
2394989a
edgchen1 Revert "move StatusCodeToHRESULT to its own file so we don't need to …
3ced7aa2
edgchen1 fix ORT_DEF2STR_HELPER macro
8787a009
edgchen1 h2exp workaround for sm_52 or lower
92691338
edgchen1 Revert "fix stage name"
8eb610a2
edgchen1 Revert "debugging - split out cuda python builds into single cuda arc…
5569e40a
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20_fix
6eb519fa
edgchen1 Merge branch 'edgchen1/cpp20_fix' into edgchen1/cpp20
144652c3
edgchen1 edgchen1 requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 32 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-03-10
edgchen1 Revert "add MSVC /Zc:preprocessor option"
c0177637
edgchen1 Merge branch 'edgchen1/cpp20_fix' into edgchen1/cpp20
1a2e7b41
edgchen1 revert linux_minimal_build.yml changes
d84ea849
edgchen1 limit nvcc_threads to 1 for CUDA Win Python packaging build
0f98614e
edgchen1 try nvcc_threads 2
ddc5bbc7
edgchen1 Revert "try nvcc_threads 2"
b7db7e7e
edgchen1 Merge branch 'edgchen1/cpp20_fix' into edgchen1/cpp20
38f94dc2
edgchen1 edgchen1 requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 31 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-03-11
edgchen1 edgchen1 marked this pull request as ready for review 31 days ago
edgchen1 edgchen1 requested a review from fs-eire fs-eire 31 days ago
edgchen1 edgchen1 requested a review from tianleiwu tianleiwu 31 days ago
edgchen1
edgchen1 commented on 2026-03-12
tianleiwu
tianleiwu commented on 2026-03-12
tianleiwu
tianleiwu commented on 2026-03-12
edgchen1 Merge remote-tracking branch 'origin/main' into edgchen1/cpp20
da8cdd0a
tianleiwu
tianleiwu dismissed these changes on 2026-03-12
edgchen1 update comments about Timestamp class, add rationale for not making c…
30d8e934
edgchen1 edgchen1 dismissed their stale review via 30d8e934 30 days ago
edgchen1 edgchen1 requested a review from tianleiwu tianleiwu 30 days ago
tianleiwu
tianleiwu approved these changes on 2026-03-12
edgchen1 edgchen1 merged b5f869b7 into main 30 days ago
edgchen1 edgchen1 deleted the edgchen1/cpp20 branch 30 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone