-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling c++20 on linux #17816
Open
jchen351
wants to merge
52
commits into
main
Choose a base branch
from
Cjian/linux_c++20
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Enabling c++20 on linux #17816
Changes from 12 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
81fbc65
Trying out c++20 on linux
jchen351 c72c40e
Enabling "set_property(TARGET onnxruntime_test_all APPEND_STRING PROP…
jchen351 512cd4d
Revert "Enabling "set_property(TARGET onnxruntime_test_all APPEND_STR…
jchen351 e9fd1ef
Merge branch 'main' into Cjian/linux_c++20
jchen351 a3a69d0
ignore "-Werror=deprecated" for Eigen CXX11 Tensor
jchen351 2e795b4
-Wdeprecated-declarations
jchen351 1a7efec
Merge branch 'refs/heads/main' into Cjian/linux_c++20
jchen351 c46ab4a
Merge remote-tracking branch 'origin/main' into Cjian/linux_c++20
snnn 11f8d5b
Merge branch 'refs/heads/main' into Cjian/linux_c++20
jchen351 107788f
#pragma GCC diagnostic ignored "-Wdeprecated"
jchen351 7646254
#pragma GCC diagnostic ignored "-Wdeprecated"
jchen351 661a465
TreeAggregatorMin
jchen351 450d994
#pragma GCC diagnostic ignored "-Wdeprecated"
jchen351 168beb8
[=
jchen351 3736658
qembed_layer_norm.cc:97:50
jchen351 89d8e59
Merge branch 'refs/heads/main' into Cjian/linux_c++20
jchen351 2d6abd5
is_trivial
jchen351 c66de02
Merge branch 'refs/heads/main' into Cjian/linux_c++20
jchen351 31cb371
Merge remote-tracking branch 'refs/remotes/origin/main' into Cjian/li…
jchen351 d3a385a
Merge remote-tracking branch 'origin/main' into Cjian/linux_c++20
jchen351 41c821e
onnxruntime/core/session/inference_session.cc lintrunner
jchen351 cc3f411
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
jchen351 84122a5
#if __cplusplus >= 202002L
jchen351 5244cc4
std::function<void()> run_fn = [=, this]() {
jchen351 0e10f73
std::function<void()> run_fn = [this]() {
jchen351 c669ead
std::function<void()> run_fn = [this]() {
jchen351 55edc2d
Merge branch 'refs/heads/main' into Cjian/linux_c++20
jchen351 33d08f3
#pragma GCC diagnostic ignored "-Wdeprecated"
jchen351 2452708
volatile size_t volatile_x = 0;
jchen351 0a2d22b
implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20
jchen351 c5a3e64
#ifdef __GNUC__
jchen351 6c105be
compute_info.create_state_func = [=](ComputeContext* context, Functio…
jchen351 f356538
Special case where c++20 is defined by was undefined again
jchen351 6177120
#pragma GCC diagnostic push
jchen351 254c8c1
#pragma GCC diagnostic push
jchen351 7386423
if(UNIX)
jchen351 9750089
if(UNIX)
jchen351 42ee12f
-Wdeprecated-pragma
jchen351 d837bfa
-Wdeprecated-pragma
jchen351 a6b56f3
google nsync
jchen351 78c7b4a
#if defined(
jchen351 4f2ebed
#if defined(__clang__) && __cplusplus >= 202002L
jchen351 7de09f7
[=, this]
jchen351 524decf
maxThreadsPerBlock
jchen351 0fe8720
#ifdef __GNUC__
jchen351 6eb70d5
deprecated
jchen351 fa8a8cc
Merge branch 'refs/heads/main' into Cjian/linux_c++20
jchen351 1471383
Changing ostringstream to wostringstream
jchen351 fb7ee24
Using wostringstream only on Windows
jchen351 fc63b36
change ifndef to ifdef
jchen351 3c31842
Merge branch 'refs/heads/main' into Cjian/linux_c++20
jchen351 9e30f73
Merge branch 'refs/heads/main' into Cjian/linux_c++20
jchen351 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All other similar class like TreeAggregatorMin and TreeAggregatorSum does not include type qualifier.