Repository navigation
Adds CUDA FP16 arithmetic operators #7885
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
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1cd16ff
Add support for fp16 operators: add, sub, mul, fma, abs and neg
testhound 3efd4fe
Correctly name classes for unary operators
testhound 6c69b2c
Add support for inplace binary operators
testhound 5188b28
Merge branch 'main' into testhound/fp16-operators1
testhound 5b721ad
Change to use AbstractTemplate
testhound 87b8c2c
Use ConcreteTemplate for intrinsics and AbstractTemplate for operators
testhound 6809886
Merge branch 'main' into testhound/fp16-operators1
testhound 7b36527
User @register_global to register operator lowering functions, update…
testhound 9269ff7
Merge branch 'main' into testhound/fp16-operators1
testhound 227ca5b
Fix registration of 'abs', add test cases to verify fp16 operators ar…
testhound fac30e2
Handle different argument types correctly for binary operators
testhound db03e4d
Merge branch 'main' into testhound/fp16-operators1
testhound 5898b6b
Allow safe promotions and safe conversions for fp16 operators
testhound 527973c
Add fp16 mixed type test for binary operators
testhound f10a4e5
Merge branch 'main' into testhound/fp16-operators1
testhound 882ea3d
Document need for AbstractTemplate and ConcreateTemplate
testhound 0b244ea
Seed RNG and pass additional paramater to self.subTest:
testhound a7129d4
Merge branch 'main' into testhound/fp16-operators1
testhound e1783fa
Merge branch 'main' into testhound/fp16-operators1
testhound 7a7ad7d
Update comment description to recommendation by @gmarkall
testhound b2bef05
Add new case for function resolution of fp16 unary and binary operators
testhound 021503f
Merge branch 'main' into testhound/fp16-operators1
testhound f26d289
Skip test if nvvm is not available
testhound 8932a70
Simplify test cases and remove redundant assignments, fix comments
testhound a19874d
Merge branch 'main' into testhound/fp16-operators1
testhound fbc183d
Merge comments for binary and comparison fp16 operators
testhound cfeb49c
Merge branch 'main' into testhound/fp16-operators1
testhound aa4835c
Merge branch 'main' into testhound/fp16-operators1
testhound dd8498e
Add back erroneously removed skip if compute compatability is less th…
testhound 277cf08
Merge branch 'main' into testhound/fp16-operators1
testhound 224bd48
Skip tests unless cc >= 5.3
testhound 95670b0
Merge branch 'main' into testhound/fp16-operators1
testhound ce23094
Streamline code by assing assertEqual
testhound 8a96ff7
Merge branch 'main' into testhound/fp16-operators1
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 support for inplace binary operators
- Loading branch information
commit 6c69b2ccd048fbffd53a14b211340981969818ba
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
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.
Uh oh!
There was an error while loading. Please reload this page.