-
-
Notifications
You must be signed in to change notification settings - Fork 897
feat: add lapack/base/dptts2
#2625
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
Conversation
Signed-off-by: Pranav <85227306+Pranavchiku@users.noreply.github.com>
Signed-off-by: Pranav <85227306+Pranavchiku@users.noreply.github.com>
Signed-off-by: Pranav <85227306+Pranavchiku@users.noreply.github.com>
Signed-off-by: Pranav <85227306+Pranavchiku@users.noreply.github.com>
I think this PR can now have a final review.
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.
Do not allocate new arrays in benchmarks. Results will be tainted with non-relevant operations.
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.
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 have repeated computation of index offsets. Refactor and simplify.
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.
Why 1.0e-7
? This tolerance does not make sense to me. That effectively makes the tol
value 0
in isApprox
.
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.
Parameterizing with explicit values does not mean much to the casual reader. What is this test (and the ones which follow) indicated to show?
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.
Here, you are testing that the function supports a D
stride. Update the description accordingly.
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.
Here, you are showing that the function supports negative strides for B
. Update the description accordingly. Etc.
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.
All your tests are row-major. You need to also systematically test behavior for column-major.
Uh oh!
There was an error while loading. Please reload this page.
Towards #2464
Description
This pull request adds initial implementation for
lapack/base/dptts2
.Related Issues
No.
Questions
No.
Other
No.
Checklist
TODO:
strideB1
,strideB2
.@stdlib-js/reviewers