Bernoulli Random Numbers using CuRAND

Hi, I wanted to solve a problem which required a large sample of bernoulli random numbers to be generated. How do I go about it? I could’nt find any relevant function in the documentation for the same

Just use the uniform distribution and check if it’s above a certain value.