Skip to content
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

Adjust the memory ordering settings in stream_execution_context.h #22772

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snnn
Copy link
Member

@snnn snnn commented Nov 8, 2024

Description

std::memory_order_relaxed means no memory barrier at all, which is good for x86 CPUs, but not the others. Especially, ARM.

Motivation and Context

@snnn snnn requested review from souptc and edgchen1 November 8, 2024 02:11
@snnn
Copy link
Member Author

snnn commented Nov 8, 2024

@ranjitshs /@goldsteinn, FYI.

@snnn snnn requested a review from skottmckay November 8, 2024 02:13
@goldsteinn
Copy link
Contributor

Ah nice :)
Orderings all seem sensible, did this solve the issue?

@snnn
Copy link
Member Author

snnn commented Nov 8, 2024

did this solve the issue?

Unfortunately, no.

@goldsteinn
Copy link
Contributor

did this solve the issue?

Unfortunately, no.

Hmm, did anything particular make you think this area is responsible or just a hunch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants