-
Notifications
You must be signed in to change notification settings - Fork 795
[SYCL][COMPAT] Add bfloat16 support to several maths ops #15572
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 20 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
5a000ac
No constexpr construction in math tests
joeatodd c32b263
Add syclcompat::is_floating_point_v
joeatodd 9f28f62
Add bfloat16 to tests and generalize to container types
joeatodd 8319654
Add some guards & TODOs to math.hpp
joeatodd ec00197
Generalize should_skip to variadic types
joeatodd f8f62aa
Specialize std::common_type for bfloat16
joeatodd dad728c
Add bfloat16 support (& more extensive tests) to fmin/max_nan
joeatodd 9681cc7
Define constexpr bool for bfloat16 support
joeatodd a5e8e10
Add marray fmin/fmax_nan to docs
joeatodd 4497d82
Extend isnan support to bfloat16
joeatodd 1fe5980
Formatting
joeatodd 847d45d
Fix bug in cmul_add tests
joeatodd 55e95ad
Add cmul_add<bfloat> & draft test
joeatodd 5b0e0b5
Enable relu for bfloat
joeatodd 51860b3
Add bfloat16-container support to clamp
joeatodd d16dd56
Add max & min bfloat16 support & tests
joeatodd 05b0748
Generalize compare_mask & unordered_compare_mask
joeatodd fd9ebf4
Tidy a comment
joeatodd e5f9231
Add bfloat16 support to cbrt
joeatodd f95dc85
Revert "Add cmul_add<bfloat> & draft test"
joeatodd d7b8676
Merge branch 'sycl' into jtodd/bfloat16_support
joeatodd 4da9833
Move std::common_type specialization to traits.hpp
joeatodd ac2b4e9
Document std::common_type_t<bfloat16,...>
joeatodd b0303bb
Revert unneeded cbrt<bfloat16> support
joeatodd fc11764
Review fix includes
joeatodd f21f62e
Assert bfloat16 math support in `isnan`, `max`, and `min`
joeatodd 48e786a
Merge branch 'sycl' into jtodd/bfloat16_support
joeatodd 20012b3
Fix incorrect local memory usage in tests
joeatodd 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
Oops, something went wrong.
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.