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

Remove unneeded branches in fmin/fmax helpers #329

Merged
merged 1 commit into from
May 11, 2023

Conversation

jacobhinkle
Copy link
Collaborator

Fixes #319. This implements a minimal fix, in that it does not modify the reduction as stated in the issue, but it removes one nan-check for each call to fmin/fmax. We may further want to disable nan-checking completely, but that will be implemented in another PR.

@jacobhinkle jacobhinkle requested review from naoyam and jjsjann123 May 11, 2023 12:34
Copy link
Collaborator

@naoyam naoyam 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.

@jacobhinkle jacobhinkle merged commit 0ffce84 into main May 11, 2023
@jacobhinkle jacobhinkle deleted the streamline_minmax_helpers branch May 11, 2023 15:30
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.

Optimize fmax with NAN
2 participants