-
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
Add several type aliases and helpers for creating mdarrays #726
Add several type aliases and helpers for creating mdarrays #726
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.
PR looks very good to me, just had one question.
LGTM |
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.
I think it looks good overall and I like the idea of keeping the alises to make things easier for the end-users. Just one minor thing and I think this is ready to go.
@@ -712,10 +823,7 @@ auto make_host_matrix(size_t n_rows, size_t n_cols) | |||
template <typename ElementType, typename LayoutPolicy = layout_c_contiguous> | |||
auto make_device_matrix(size_t n_rows, size_t n_cols, rmm::cuda_stream_view stream) |
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.
As @trivialfis pointed out, I'd prefer to use the handle here as well. However, for now I'm okay matching what's there and in the future we might scrape through and either add overloads for the handle or change the stream argument to the handle.
rerun tests |
rerun tests |
1 similar comment
rerun tests |
@gpucibot merge |
A few small improvements to mdarrays migrated from #652 :
make_device_mdarray
andmake_host_mdarray