Skip to content

Commit

Permalink
Switch back to PC generator (#2356)
Browse files Browse the repository at this point in the history
With the RAFT changes here: rapidsai/raft#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: #2356
  • Loading branch information
ChuckHastings authored Jun 21, 2022
1 parent 0bcb6e0 commit b3c8c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/detail/utility_wrappers.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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<value_t, size_t>(
rng_state, d_value, size, min_value, max_value, stream_view.value());
}
Expand Down

0 comments on commit b3c8c05

Please sign in to comment.