Skip to content

Tighter write race checking#224

Merged
inducer merged 17 commits intomainfrom
tighter_write_race_checker
Apr 19, 2022
Merged

Tighter write race checking#224
inducer merged 17 commits intomainfrom
tighter_write_race_checker

Conversation

@kaushikcfd
Copy link
Collaborator

@kaushikcfd kaushikcfd commented Feb 14, 2021

@inducer
Copy link
Owner

inducer commented Feb 22, 2021

Unsubscribing... @-mention or request review once it's ready for a look.

Base automatically changed from master to main March 8, 2021 05:10
@kaushikcfd kaushikcfd force-pushed the tighter_write_race_checker branch from 0dde194 to 97fbef5 Compare June 15, 2021 07:14
@kaushikcfd kaushikcfd marked this pull request as ready for review June 15, 2021 07:14
@kaushikcfd kaushikcfd requested a review from inducer June 15, 2021 07:17
Copy link
Owner

@inducer inducer left a comment

Choose a reason for hiding this comment

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

A few quick drive-by comments to start.

Copy link
Owner

@inducer inducer left a comment

Choose a reason for hiding this comment

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

Thanks! This LGTM except for the wrinkles highlighted below.


# }}}

# {{{ Step 4: make map_a, map_b ISL sets
Copy link
Owner

Choose a reason for hiding this comment

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

Why is it necessary to convert these to sets? If it is for isl_set_from_expr, I suspect that can be modified trivially to return a Map.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why is it necessary to convert these to sets?

I wasn't able to cast the final condition as an intersect operation on the maps.

If it is for isl_set_from_expr

That's not much important, writing an inequality constraint is a fairly small piece of code.

Copy link
Owner

Choose a reason for hiding this comment

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

I wasn't able to cast the final condition as an intersect operation on the maps.

Shouldn't that just be the same condition? (Not a showstopper for merging, just curious.)

@inducer
Copy link
Owner

inducer commented Aug 17, 2021

Unsubscribing... @-mention or request review once it's ready for a look or needs attention.

@kaushikcfd kaushikcfd force-pushed the tighter_write_race_checker branch from d2d6a1b to 1a00c5c Compare September 28, 2021 15:17
@kaushikcfd kaushikcfd force-pushed the tighter_write_race_checker branch from 1a00c5c to 403096f Compare October 22, 2021 17:42
@kaushikcfd kaushikcfd force-pushed the tighter_write_race_checker branch from 403096f to 55e4782 Compare January 28, 2022 15:54
@kaushikcfd kaushikcfd force-pushed the tighter_write_race_checker branch from 55e4782 to 46dd439 Compare March 10, 2022 15:15
@kaushikcfd
Copy link
Collaborator Author

@inducer: Thanks a lot for the feedback, I've tried to incorporate them in this version.

@inducer inducer force-pushed the tighter_write_race_checker branch from 60f3b84 to ba6f26d Compare April 19, 2022 19:04
Copy link
Owner

@inducer inducer left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! One non-merge-stopper question below.


# }}}

# {{{ Step 4: make map_a, map_b ISL sets
Copy link
Owner

Choose a reason for hiding this comment

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

I wasn't able to cast the final condition as an intersect operation on the maps.

Shouldn't that just be the same condition? (Not a showstopper for merging, just curious.)

@inducer inducer merged commit 0bb51f7 into main Apr 19, 2022
@inducer inducer deleted the tighter_write_race_checker branch April 19, 2022 19:52
@inducer inducer mentioned this pull request Mar 13, 2023
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.

Inlined kernel gives MissingBarrierError

2 participants