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

Migrate from raft::device_resources -> raft::resources #1510

Merged
merged 10 commits into from
May 16, 2023
Prev Previous commit
Next Next commit
fix mpi_comms
  • Loading branch information
benfred committed May 15, 2023
commit 45d596c40945c75ba7220b6feb71fd8ca85db1e7
2 changes: 1 addition & 1 deletion cpp/include/raft/comms/mpi_comms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ using mpi_comms = detail::mpi_comms;
inline void initialize_mpi_comms(resources* handle, MPI_Comm comm)
{
auto communicator = std::make_shared<comms_t>(
std::unique_ptr<comms_iface>(new mpi_comms(comm, false, handle->get_stream())));
std::unique_ptr<comms_iface>(new mpi_comms(comm, false, resource::get_cuda_stream(*handle))));
resource::set_comms(*handle, communicator)
};

Expand Down