Skip to content
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

use to_lapack_int to check overflow and convert int64_t #67

Merged
merged 3 commits into from
Oct 26, 2024

Conversation

mgates3
Copy link
Collaborator

@mgates3 mgates3 commented Jun 30, 2024

Use to_lapack_int() to check overflow and convert int64_t to lapack_int, instead of explicitly checking for overflow and then casting. Shortens the code and makes it consistent with BLAS++ and SLATE's scalapack wrappers, which use to_blas_int.

@mgates3 mgates3 force-pushed the lapack_int branch 2 times, most recently from 7c6aecd to a245fcf Compare October 25, 2024 12:58
Copy link
Collaborator Author

@mgates3 mgates3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-approved.

src/version.cc Outdated Show resolved Hide resolved
src/gees.cc Outdated Show resolved Hide resolved
src/gees.cc Outdated Show resolved Hide resolved
src/lamch.cc Outdated Show resolved Hide resolved
src/lapy2.cc Outdated Show resolved Hide resolved
src/lartgs.cc Outdated Show resolved Hide resolved
src/sturm.cc Outdated Show resolved Hide resolved
src/syevr.cc Outdated Show resolved Hide resolved
src/syevr_2stage.cc Outdated Show resolved Hide resolved
src/syevx_2stage.cc Outdated Show resolved Hide resolved
@mgates3 mgates3 merged commit d60b1e1 into icl-utk-edu:master Oct 26, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant