Skip to content

[SYCL] Update reduction_reducer_op_eq.cpp test to avoid dividing by zero #10771

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

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

wwXing0
Copy link
Contributor

@wwXing0 wwXing0 commented Aug 10, 2023

divisor may be 0 in T Diff = (Expected / *Res) - T{1};

@wwXing0 wwXing0 marked this pull request as ready for review August 10, 2023 06:47
@wwXing0 wwXing0 requested a review from a team as a code owner August 10, 2023 06:47
@wwXing0 wwXing0 requested a review from dm-vodopyanov August 10, 2023 06:47
@dm-vodopyanov dm-vodopyanov changed the title [SYCL] Update test to avoid dividing by zero [SYCL] Update reduction_reducer_op_eq.cpp test to avoid dividing by zero Aug 12, 2023
@dm-vodopyanov dm-vodopyanov merged commit b6aa3c8 into intel:sycl Aug 12, 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.

2 participants