From b3c8c052dd2050af1073bf15e84d2b00b5a8743f Mon Sep 17 00:00:00 2001 From: Chuck Hastings <45364586+ChuckHastings@users.noreply.github.com> Date: Tue, 21 Jun 2022 13:55:18 -0400 Subject: [PATCH] Switch back to PC generator (#2356) With the RAFT changes here: https://github.com/rapidsai/raft/pull/690 we should be able to use the PC generator again. The PC generator is significantly faster. Closes #2266 Authors: - Chuck Hastings (https://github.com/ChuckHastings) Approvers: - Corey J. Nolet (https://github.com/cjnolet) - Seunghwa Kang (https://github.com/seunghwak) URL: https://github.com/rapidsai/cugraph/pull/2356 --- cpp/src/detail/utility_wrappers.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/detail/utility_wrappers.cu b/cpp/src/detail/utility_wrappers.cu index ba3881dac08..2c23235afec 100644 --- a/cpp/src/detail/utility_wrappers.cu +++ b/cpp/src/detail/utility_wrappers.cu @@ -32,7 +32,7 @@ void uniform_random_fill(rmm::cuda_stream_view const& stream_view, value_t max_value, uint64_t seed) { - raft::random::RngState rng_state(seed, raft::random::GeneratorType::GenPhilox); + raft::random::RngState rng_state(seed); raft::random::uniform( rng_state, d_value, size, min_value, max_value, stream_view.value()); }