Repository navigation
Add FP16 support for CUDA #7460
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 all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1975390
Initial changes for fp16 support
testhound 98f9cd0
Merge branch 'master' into testhound/fp16-support
testhound 8d30278
Add remaining fp16 operators except divide
testhound b51a32b
Merge branch 'master' into testhound/fp16-support
testhound 7800f8d
Fix cuda simulation of fp16 operators
testhound 9571f6e
Fix documentation underline error
testhound 95727a4
Fix FROM_DTYPE for float16
testhound e6936e4
Fix failing ufunc testcase for fp16
testhound 1c6a2bc
skip float16 arrays
testhound 40751ce
Remove unnecessary operator handling, cpu target boxing/unboxing, ref…
testhound fd559ae
Simplify code generation for intrinsic fp16 mac, remove accidently co…
testhound caa6eeb
fp16 add/sub/mul/neg/absd oeprators: Add code to only run tests and l…
testhound 186711b
Revert skip of unit test
testhound 7f35c12
Skip fp16 unit tests if compute capability or toolkit version require…
testhound efee8a5
Pass fp16 arguments as int16 arguments to be consistent with nvcc
testhound 164ae5b
Merge branch 'master' into testhound/fp16-support
testhound c3722ae
Move fp16 data model support to cuda model since there is no cpu supp…
testhound 66e7d45
Initial support for casting from/to fp16 and other float/integer types
testhound 2e4701d
Add lowering casts and tests case from/to fp16 to float32/float64/int…
testhound 4feb427
Merge testhound/fp16-support with master Numba branch
testhound 1821e0a
Split toolkit_and_compute_supported method into two separate methods …
testhound 81eea70
Fix int to fp16 conversions, add more test cases, remove redundant ch…
testhound e8b66f3
Merge branch 'master' into testhound/fp16-support
testhound b462a87
Skip intrinsics tests when compiling for simulator
testhound 99f74b8
Remove unnecessary test cases, add test cases for int literal to float16
testhound 9f5d984
Merge branch 'master' into testhound/fp16-support
testhound fdca65c
Clarify comments and skip messages in test_intrinsics
gmarkall 65686b5
Test casts of int and float literals to float16
gmarkall b6ae787
Formatting simplification in cudadecl.py
gmarkall 5a1ae23
Simplify float16 lowering logic
gmarkall 6689858
CUDA: Reorder FloatModel checks in ascending order
gmarkall 750edaa
Use decorators to skip tests
gmarkall 22e3286
Address PR #7460 feedback
gmarkall e734e9e
Add introduction to 16-bit FP intrinsics docs
gmarkall 20c1d4f
Skip float16 casting test that uses arithmetic if CC < 5.3
gmarkall 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
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
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
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
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
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
Oops, something went wrong.
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.