Hi all,

I’m implementing a simple genetic algorithm on GPU and I need to use a random function. Because it’s not for big scientific purpose, I use the rand() function in my C version of the algorithm.

Is there a way to make a thread generate a random number? :unsure:

I read other post on the forum and it seem complicated. Somebody a hint?

Thanks