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

First stab at hip linear algebra #39

Merged
merged 1 commit into from
Oct 28, 2023
Merged

First stab at hip linear algebra #39

merged 1 commit into from
Oct 28, 2023

Conversation

pelesh
Copy link
Collaborator

@pelesh pelesh commented Oct 27, 2023

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 to develop) 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.

@pelesh pelesh added the enhancement New feature or request label Oct 27, 2023
@pelesh pelesh added this to the Hackathon milestone Oct 27, 2023
@pelesh pelesh marked this pull request as draft October 27, 2023 22:04
Copy link
Collaborator Author

@pelesh pelesh left a 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.

Comment on lines +39 to +47

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);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indentation:

Suggested change
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);

Comment on lines +74 to +75
}
} // namespace ReSolve
Copy link
Collaborator Author

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):

Suggested change
}
} // namespace ReSolve
}
} // namespace ReSolve

@pelesh pelesh marked this pull request as ready for review October 28, 2023 01:52
@pelesh pelesh merged commit dff46da into hip-first-take-dev Oct 28, 2023
2 checks passed
pelesh added a commit that referenced this pull request Oct 28, 2023
@pelesh pelesh deleted the hippify-nla branch December 1, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants