-
-
Notifications
You must be signed in to change notification settings - Fork 475
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
feat: add C implementation for blas/base/ssyr2
#2880
base: develop
Are you sure you want to change the base?
Conversation
float x[] = { 1.0f, 2.0f, 3.0f }; | ||
float y[] = { 1.0f, 2.0f, 3.0f }; | ||
|
||
c_ssyr2( 102, 121, 3, 1.0f, x, 1, y, 1, A, 3 ); |
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.
We should be using the enums from shared. We should not use hardcoded values as those are subject to change.
const int N = 3; | ||
|
||
// Perform the symmetric rank 2 operation `A = α*x*y^T + α*y*x^T + A`: | ||
c_ssyr2( 102, 121, N, 1.0f, x, 1, y, 1, A, N ); |
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.
Same comment.
], | ||
"libpath": [], | ||
"dependencies": [ | ||
"@stdlib/blas/base/shared" |
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.
You're missing deps, such as sfill and floorf.
Are you wanting to add the C ndarray API to this PR or to a subsequent PR? |
Yes, I will add the C |
@aman-095 Ah, right. This PR is blocked wrt adding a C |
Progresses #2039.
Description
This pull request proposes to add C implementation for
blas/base/ssyr2
.Related Issues
This pull request:
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers