-
Notifications
You must be signed in to change notification settings - Fork 197
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
Remove raft/matrix/matrix.cuh includes #1498
Remove raft/matrix/matrix.cuh includes #1498
Conversation
The `raft/matrix/matrix.cuh` file has been marked as deprecated, and produces a compile warning when included. However it was still being referenced in a bunch of different spots within raft - making it hard to avoid these warnings. Remove the includes, in favour of either the newer API's or in certain cases the detail API
Oh man this makes me so happy. Thanks @benfred for taking this on! |
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.
LGTM!
* @param[out] out: output matrix | ||
*/ | ||
template <typename m_t, typename matrix_idx_t> | ||
void copy(raft::device_resources const& handle, |
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.
wonderful!
@@ -34,7 +34,7 @@ namespace raft::matrix { | |||
* @param[out] matrix: matrix of size n_rows x n_cols | |||
*/ | |||
template <typename m_t, typename idx_t, typename layout> | |||
void set_diagonal(raft::device_resources const& handle, | |||
void set_diagonal(raft::resources const& handle, |
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.
Yes!
Required to build after change rapidsai/raft#1498 is merged Authors: - Ben Frederickson (https://github.com/benfred) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: #5411
/merge |
The
raft/matrix/matrix.cuh
file has been marked as deprecated, and produces a compile warning when included. However it was still being referenced in a bunch of different spots within raft - making it hard to avoid these warnings.Remove the includes, in favour of either the newer API's or in certain cases the detail API