Skip to content

Commit

Permalink
Merge branch 'branch-24.04' into test-cuda-12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice authored Feb 14, 2024
2 parents d38742a + 3b927f6 commit ada28a3
Show file tree
Hide file tree
Showing 3 changed files with 954 additions and 6 deletions.
6 changes: 2 additions & 4 deletions cpp/src/community/detail/refine_impl.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, NVIDIA CORPORATION.
* Copyright (c) 2023-2024, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -504,10 +504,8 @@ refine_clustering(
//
// Decide best/positive move for each vertex
//
unsigned seed = std::chrono::system_clock::now().time_since_epoch().count();
raft::random::RngState rng_state(seed);
raft::random::DeviceState<raft::random::PCGenerator> device_state(rng_state);

raft::random::DeviceState<raft::random::PCGenerator> device_state(rng_state);
auto gain_and_dst_output_pairs = allocate_dataframe_buffer<thrust::tuple<weight_t, vertex_t>>(
graph_view.local_vertex_partition_range_size(), handle.get_stream());

Expand Down
Loading

0 comments on commit ada28a3

Please sign in to comment.