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

Workaround Windows correctness issue in reduce_by_segment.pass #1771

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

mmichel11
Copy link
Contributor

This PR is put up in anticipation of the reduce-then-scan implementation being committed. It can currently be produced on dev/shared/reduce_than_scan_impl.

When using the new reduce-then-scan implementation, a correctness issue has been identified on Windows with reduce_by_segment.pass.cpp. The issue can only be produced with the current ordering of test cases (and I assume ordering in which kernels are compiled). After running the two flag predicate tests, the third MatrixPoint test return incorrect results. We run into this issue even if the flag predicate tests are not run and their kernels only compiled. Reordering the tests to run the MatrixPoint test prior to the flag predicate tests, or completely removing the flag predicate tests results in a pass.

We believe this issue related to the order of kernel compilation is a compiler bug and are following up with the compiler team. For now, I have added a broken macro to reorder the tests on Windows.

@mmichel11 mmichel11 added this to the 2022.7.0 milestone Aug 8, 2024
@mmichel11
Copy link
Contributor Author

mmichel11 commented Aug 8, 2024

I've added this to the milestone even though it's a test change, since it will be important for testing of other features in the milestone.

Copy link
Contributor

@SergeyKopienko SergeyKopienko left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@danhoeflinger danhoeflinger left a comment

Choose a reason for hiding this comment

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

LGTM

julianmi
julianmi approved these changes Aug 8, 2024
@mmichel11 mmichel11 merged commit c9a1f03 into main Aug 8, 2024
21 checks passed
@mmichel11 mmichel11 deleted the dev/mmichel11/workaround_red_by_seg_windows branch August 8, 2024 13:13
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.

4 participants