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

fix atomic fences #43093

Merged
merged 1 commit into from
Nov 16, 2021
Merged

fix atomic fences #43093

merged 1 commit into from
Nov 16, 2021

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Nov 15, 2021

Previously, we were disallowing the opposite of the orders that we intended to disallow.

Previously, we were disallowing the opposite of the orders that we intended to disallow.
@vtjnash vtjnash added multithreading Base.Threads and related functionality embarrassing-bugfix Whoops! backport 1.7 labels Nov 15, 2021
@vtjnash vtjnash requested a review from tkf November 15, 2021 20:11
Copy link
Member

@tkf tkf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Nov 15, 2021
@DilumAluthge DilumAluthge merged commit 28c49ce into master Nov 16, 2021
@DilumAluthge DilumAluthge deleted the jn/mend-fences branch November 16, 2021 02:03
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Nov 16, 2021
KristofferC pushed a commit that referenced this pull request Nov 19, 2021
Previously, we were disallowing the opposite of the orders that we intended to disallow.

(cherry picked from commit 28c49ce)
KristofferC pushed a commit that referenced this pull request Nov 26, 2021
Previously, we were disallowing the opposite of the orders that we intended to disallow.

(cherry picked from commit 28c49ce)
@@ -164,8 +164,17 @@ end
@test_intrinsic Core.Intrinsics.fptoui UInt Float16(3.3) UInt(3)
end

@test Core.Intrinsics.atomic_fence(:sequentially_consistent) === nothing
using Base.Experimental: @force_compile
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to remove this from 1.7 (since it doesn't have @force_compile). We'll see if the tests pass without it.

LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
Previously, we were disallowing the opposite of the orders that we intended to disallow.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
Previously, we were disallowing the opposite of the orders that we intended to disallow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embarrassing-bugfix Whoops! multithreading Base.Threads and related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants