-
-
Notifications
You must be signed in to change notification settings - Fork 36
Branch on Bool alpha in bidiag matmul #1257
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
Conversation
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1257 +/- ##
==========================================
- Coverage 92.15% 92.15% -0.01%
==========================================
Files 34 34
Lines 15604 15645 +41
==========================================
+ Hits 14380 14417 +37
- Misses 1224 1228 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
68ece4d to
df7fef1
Compare
jishnub
commented
Apr 9, 2025
597cc18 to
3a9e3db
Compare
f99cb9e to
cb026ae
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Similar to #1256, we may reduce branches in
@stable_muladdmulfor a non-zeroBoolalpha inBidiagonalmatmul. The idea is that ifalpha::Boolis non-zero, it must betrue. We may therefore hardcode this value and reduce branches in@stable_muladdmul. In addition, ifbetais unused in a method, we may hardcodebeta = falseas well, which further helps with compilation.With this,
The rest are mainly reductions in allocation:
This also improves performance for small
Bidiagonalmultiplication, as there are fewer operations to carry out.