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

Fea rmm device buffer change #1609

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ message("set LIBCUDACXX_INCLUDE_DIR to: ${LIBCUDACXX_INCLUDE_DIR}")
FetchContent_Declare(
cuhornet
GIT_REPOSITORY https://github.com/rapidsai/cuhornet.git
GIT_TAG 6d2fc894cc56dd2ca8fc9d1523a18a6ec444b663
GIT_TAG 261399356e62bd76fa7628880f1a847aee713eed
SOURCE_SUBDIR hornet
)

Expand Down
2 changes: 1 addition & 1 deletion cpp/src/traversal/sssp.cu
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void SSSP<IndexType, DistType>::setup()

// Allocate buffer for data that need to be reset every iteration
iter_buffer_size = sizeof(int) * (edges_bmap_size + vertices_bmap_size) + sizeof(IndexType);
iter_buffer.resize(iter_buffer_size);
iter_buffer.resize(iter_buffer_size, stream);
// ith bit of relaxed_edges_bmap <=> ith edge was relaxed
relaxed_edges_bmap = static_cast<int *>(iter_buffer.data());
// ith bit of next_frontier_bmap <=> vertex is active in the next frontier
Expand Down