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

Add GpuEqualToNoNans and update GpuPivotFirst to use to handle PivotFirst with NaN support enabled on GPU #5418

Merged

Conversation

NVnavkumar
Copy link
Collaborator

Fixes #5322.

This adds the GpuEqualToNoNans operation to support EqualTo where NaN != NaN. This is then used in GpuPivotFirst to allow GPU and CPU behavior to be consistent when the plugin knows that floats can be NaN. The check for the hasNans configuration is now removed so the operation will continue to run on the GPU even if the input data has NaN values. The integration tests have also been updated to account for hasNans and support NaN float inputs in pivot(...) on the GPU.

Signed-off-by: Navin Kumar navink@nvidia.com

…() with NaN support enabled on GPU

Signed-off-by: Navin Kumar <navink@nvidia.com>
@NVnavkumar NVnavkumar requested a review from revans2 May 3, 2022 23:26
@sameerz sameerz added the feature request New feature or request label May 4, 2022
@sameerz sameerz added this to the May 2 - May 20 milestone May 4, 2022
Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

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

Looks good, I just would like to see if we can make it smaller.

…ToNoNans

Signed-off-by: Navin Kumar <navink@nvidia.com>
@NVnavkumar
Copy link
Collaborator Author

build

@NVnavkumar NVnavkumar merged commit 76b05c3 into NVIDIA:branch-22.06 May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] remove hasNans for Pivot
4 participants