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

Update the comments in hiopVector classes #592

Merged
merged 4 commits into from
Feb 10, 2023
Merged

Conversation

nychiang
Copy link
Collaborator

@nychiang nychiang commented Feb 8, 2023

  1. Update the doxygen-style comments in hiopVector.hpp (the abstract class).
  2. remove duplicated function copy_from(const hiopVector& vec, const hiopVectorInt& index_in_src)
    (keep copy_from_indexes(const hiopVector& src, const hiopVectorInt& index_in_src);)
  3. keep consistence of the variable names in the header files.

CLOSE #576

@nychiang nychiang marked this pull request as draft February 8, 2023 20:43
@nychiang nychiang marked this pull request as ready for review February 8, 2023 21:27
@nychiang nychiang requested a review from cnpetra February 8, 2023 21:27
@@ -294,28 +294,6 @@ void hiopVectorRaja<MEM, POL>::copyFrom(const double* local_array)
}
}

/// @brief Copy from vec the elements specified by the indices in index_in_src.
template<class MEM, class POL>
void hiopVectorRaja<MEM, POL>::copy_from(const hiopVector& vec, const hiopVectorInt& index_in_src)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am wondering why the implementation of two copy_from methods was removed...

Copy link
Collaborator Author

@nychiang nychiang Feb 9, 2023

Choose a reason for hiding this comment

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

@cnpetra cnpetra merged commit 9112a32 into develop Feb 10, 2023
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.

Update function descriptions in several hiopVector files
2 participants