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

Fix mst knn test build failure due to RMM device_buffer change #253

Merged
merged 4 commits into from
Jun 8, 2021

Conversation

mdoijade
Copy link
Contributor

@mdoijade mdoijade commented Jun 7, 2021

This RMM change has caused below build failure - rapidsai/rmm@7cbcd97

[ 22%] Building CUDA object CMakeFiles/test_raft.dir/test/sparse/symmetrize.cu.o
/data/raft/cpp/test/mst.cu(202): error: no instance of constructor "rmm::device_buffer::device_buffer" matches the argument list
argument types are: (int *, unsigned long)
detected during instantiation of "void raft::mst::MSTTest<vertex_t, edge_t, weight_t>::SetUp() [with vertex_t=int, edge_t=int, weight_t=float]"
/data/raft/cpp/test/mst.cu(205): error: no instance of constructor "rmm::device_buffer::device_buffer" matches the argument list
argument types are: (int *, unsigned long)
detected during instantiation of "void raft::mst::MSTTest<vertex_t, edge_t, weight_t>::SetUp() [with vertex_t=int, edge_t=int, weight_t=float]"
/data/raft/cpp/test/mst.cu(208): error: no instance of constructor "rmm::device_buffer::device_buffer" matches the argument list
argument types are: (float *, unsigned long)
detected during instantiation of "void raft::mst::MSTTest<vertex_t, edge_t, weight_t>::SetUp() [with vertex_t=int, edge_t=int, weight_t=float]"
3 errors detected in the compilation of "/data/raft/cpp/test/mst.cu".
make[2]: *** [CMakeFiles/test_raft.dir/build.make:594: CMakeFiles/test_raft.dir/test/mst.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/test_raft.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

@mdoijade mdoijade requested review from divyegala and a team as code owners June 7, 2021 13:17
@github-actions github-actions bot added the cpp label Jun 7, 2021
@mdoijade mdoijade requested a review from a team as a code owner June 7, 2021 13:44
@github-actions github-actions bot added the gpuCI label Jun 7, 2021
@mdoijade
Copy link
Contributor Author

mdoijade commented Jun 7, 2021

@dantegd @divyegala can you please help with review & merge?

@mdoijade
Copy link
Contributor Author

mdoijade commented Jun 7, 2021

@teju85 for visibility.

Copy link
Member

@divyegala divyegala left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Mahesh! We'll wait on this for #255 to go in first

ci/gpu/build.sh Outdated
@@ -51,7 +51,7 @@ gpuci_conda_retry install -c conda-forge -c rapidsai -c rapidsai-nightly -c nvid
"rmm=${MINOR_VERSION}" \
"dask-cudf=${MINOR_VERSION}" \
"dask-cuda=${MINOR_VERSION}" \
"ucx-py=${MINOR_VERSION}" \
"ucx-py=0.21" \
Copy link
Member

Choose a reason for hiding this comment

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

This change is available in fedab76. Please merge the latest changes from branch-21.08 into your PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@github-actions github-actions bot removed the gpuCI label Jun 7, 2021
@divyegala divyegala added bug Something isn't working non-breaking Non-breaking change labels Jun 7, 2021
mst_input.csr_h.weights.size() * sizeof(weight_t));
csr_d.offsets = rmm::device_buffer(
mst_input.csr_h.offsets.data(),
mst_input.csr_h.offsets.size() * sizeof(edge_t), handle.get_stream());
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this was a needed change anyway -- default stream is probably not what you wanted here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm that sounds right, but maybe such runtime failure wasn't getting triggered yet.

@dantegd
Copy link
Member

dantegd commented Jun 8, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 21cd7b0 into rapidsai:branch-21.08 Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cpp non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants