-
Notifications
You must be signed in to change notification settings - Fork 2
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
First stab at hip linear algebra #39
Conversation
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.
Converted to draft; needs implementing tests before merging.
|
||
virtual int matvec(matrix::Sparse* A, | ||
vector_type* vec_x, | ||
vector_type* vec_result, | ||
const real_type* alpha, | ||
const real_type* beta, | ||
std::string matrix_type); | ||
|
||
virtual int Matrix1Norm(matrix::Sparse *A, real_type* norm); |
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.
Indentation:
virtual int matvec(matrix::Sparse* A, | |
vector_type* vec_x, | |
vector_type* vec_result, | |
const real_type* alpha, | |
const real_type* beta, | |
std::string matrix_type); | |
virtual int Matrix1Norm(matrix::Sparse *A, real_type* norm); | |
virtual int matvec(matrix::Sparse* A, | |
vector_type* vec_x, | |
vector_type* vec_result, | |
const real_type* alpha, | |
const real_type* beta, | |
std::string matrix_type); | |
virtual int Matrix1Norm(matrix::Sparse *A, real_type* norm); |
} | ||
} // namespace ReSolve |
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.
Braces positioning (we do need to start using lint):
} | |
} // namespace ReSolve | |
} | |
} // namespace ReSolve |
Co-authored-by: kswirydo <[email protected]>
The work in branch
hip-first-take-dev
is mainly complete, but there are some CMake issues preventing it to be merged and ready to develop. I suggest we use this branch (with periodical rebasing todevelop
) to continue porting to HIP.The plan is to have a branch with functional matrix and optionally vector handler ready to merge to
develop
before the Frontier hackathon.