Skip to content

Commit

Permalink
Merge branch 'branch-24.04' of github.com:rapidsai/cugraph into updat…
Browse files Browse the repository at this point in the history
…e_sg_notebook
  • Loading branch information
Naim committed Feb 13, 2024
2 parents 3678868 + 3b927f6 commit 7849208
Showing 1 changed file with 2 additions and 4 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

0 comments on commit 7849208

Please sign in to comment.