Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikeyann authored Feb 24, 2022
1 parent 581e4b8 commit fbd5708
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cpp/benchmarks/common/generate_nullmask.cu
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@ struct bool_generator {
thrust::minstd_rand engine;
thrust::uniform_real_distribution<float> dist;
float probability_true;
bool_generator(thrust::minstd_rand engine, float probability_true)
: engine(engine), dist{0, 1}, probability_true{probability_true}
{
}
bool_generator(unsigned seed, float valid_probability)
: engine(seed), dist{0, 1}, probability_true{valid_probability}
bool_generator(unsigned seed, float probability_true)
: engine(seed), dist{0, 1}, probability_true{probability_true}
{
}

Expand Down

0 comments on commit fbd5708

Please sign in to comment.