-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
SYCL. Add dask support for distributed calculations with sycl #10812
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.
" managed by the distributed frameworks. use `device=cuda` or `device=gpu`" | ||
" instead." | ||
) | ||
if device != "sycl:gpu": |
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.
What happens if it's sycl GPU, is dask going to select the appropriate GPU?
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, the appropriate GPUs would be selected
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.
Got it.
plugin/sycl/tree/hist_updater.cc
Outdated
for (size_t i = 0; i < sync_ids.size(); i++) { | ||
auto& this_hist = hist_[sync_ids[i]]; | ||
const GradientPairT* psrc = reinterpret_cast<const GradientPairT*>(this_hist.DataConst()); | ||
// std::copy(psrc, psrc + nbins, reduce_buffer.begin() + i * nbins); |
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.
Please remove the commented code.
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.
done
Hi @trivialfis , |
Hi,
I continue adding of sycl support (#10806, #10701, etc).
This PR adds support for distributed calculations with sycl and add one simple test for basic verification.