CUDA random

Hello,
is it possible to generate random numbers in device code?

As far as I known, there is no built-in random function, but there is an implementation of the mersenne twister RNG in the SDK that you might use.

Thank you!
It is that, what I searched.

You could also have a look at http://forums.nvidia.com/lofiversion/index.php?t155695.html
Bill

    Dr. W. B. Langdon,  
    Department of Computer Science, 
    King's College London,
    Strand, London, WC2R 2LS, UK
    [url="http://www.dcs.kcl.ac.uk/staff/W.Langdon/"]http://www.dcs.kcl.ac.uk/staff/W.Langdon/[/url]

FOGA 2011 http://www.sigevo.org/foga-2011/
CIGPU 2010 http://www.cs.ucl.ac.uk/staff/W.Langdon/cigpu
A Field Guide to Genetic Programming
http://www.gp-field-guide.org.uk/
RNAnet http://bioinformatics.essex.ac.uk/users/wlangdon/rnanet
GP EM http://www.springer.com/10710
GP Bibliography http://www.cs.bham.ac.uk/~wbl/biblio/

Thank you!
Your code is very impressive…