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

Don't try to codegen predicated atomic stores #8285

Merged
merged 4 commits into from
Jun 23, 2024
Merged

Conversation

abadams
Copy link
Member

@abadams abadams commented Jun 11, 2024

By disabling predication if an Atomic node is found.

Fixes #8280.

By disabling predication if an Atomic node is found.

Fixes #8280.
f.update().vectorize(x, 8, TailStrategy::GuardWithIf).atomic().parallel(r);

f.compile_jit(t);
return 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

...this can never return anything but 0, so the test can never fail. Are we missing something here?

Copy link
Member Author

Choose a reason for hiding this comment

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

The test can throw an internal error in compile_jit, which is what it used to do.

Copy link
Member Author

Choose a reason for hiding this comment

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

(I'll add a comment)

@steven-johnson steven-johnson self-requested a review June 11, 2024 22:20
@abadams
Copy link
Member Author

abadams commented Jun 23, 2024

Failure unrelated

@abadams abadams merged commit 22367de into main Jun 23, 2024
18 of 19 checks passed
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.

Error: Atomic predicated store is not supported from Li2018 autoscheduler
2 participants