Help in using QuasirandomGenerator (for dummies)

Hi everyone,

I am a newby to CUDA and I am struggling to generate random numbers in my kernels.

I know there are different implementations, and, what is more, in the SDK 4.1 there is an example of the Niederreiter Quasirandom Sequence Generator.

I don’t know where to start… I am a bit sad and feeling like a dummy… External Image

Could anyone please please make a simple and silly example of using it? I would really apreciate it.
For example, creating a vector and filling it with random numbers (each thread filling a vector position).

Thank you in advance.