title: CUDA random number generating
body: <p>I would like to generate random numbers in my <code>__device__</code> function, and keep it in my int Board[500] , I found some examples , but they used some type named curandState. I only need a function like a <code>rand()</code> in C++.</p>