Repository navigation
Add support for fp16 comparison native operators #8010
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
sklam
merged 16 commits into
numba:main
from
testhound:testhound/fp16-comparison-operators
Jul 27, 2022
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c33108a
Add support for fp16 comparison operators
testhound c353f64
Correctly handle diffeerent types when declaring fp16 comparison oper…
testhound 0752ccd
Merge branch 'main' into testhound/fp16-comparison-operators
testhound d9abed6
Rename class to clarify it's purpose
testhound 5fe0392
Allow safe conversions from int8 to float16
testhound 9ead75c
Allow safe conversions for fp16 conversions
testhound 4a2006d
Add test cases for mixed type comparisions with fp16
testhound 77b745e
Merge branch 'main' into testhound/fp16-comparison-operators
testhound 5663396
Remove superflous comment and document logic in _genfp16_comparison_o…
testhound 35fd82f
Add setUp to seed RNG, remove unnecessary assignments, modify code to…
testhound 0b6d045
Merge branch 'main' into testhound/fp16-comparison-operators
testhound 6e02ce8
Fix test cases
testhound 9911814
Add comment explaining why AbstractTemplate and ConcreteTemplate are …
testhound da6016a
Add failing test case for multiple comparison test
testhound 400ac81
Merge branch 'main' into testhound/fp16-comparison-operators
testhound 8be1d0c
Update numba/cuda/cudadecl.py
testhound File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add failing test case for multiple comparison test
- Loading branch information
commit da6016ad7cf509fee3637c73fafadd9a0d2c4315
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be good to also test a case where the expected result is not true - a bug which manifests as multiple comparisons always results in
Truewould not be caught by this test.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@testhound What are your thoughts on this comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional test case added.