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

Implement UnsafeAtomics.fence #19

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Implement UnsafeAtomics.fence #19

merged 1 commit into from
Dec 3, 2024

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Nov 30, 2024

Mostly using LLVM fence intrinsic (since we require julia 1.10 that's thankfully directly accesible),
but on x86 we have observed that on Zen systems LLVM choice of fence is slow.

x-ref: llvm/llvm-project#106555

The PR above is backported to our version of LLVM 19 JuliaLang/llvm-project@49c6812
but not yet in mainline Julia.

Closes #16

@vchuravy vchuravy requested a review from maleadt November 30, 2024 14:31
@maleadt maleadt merged commit b099010 into master Dec 3, 2024
4 checks passed
@maleadt maleadt deleted the vc/fence2 branch December 3, 2024 12:42
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.

Properly support fence
2 participants