Re: [AMBER] random number generator in pmemd.CUDA ?

From: Marek Maly <marek.maly.ujep.cz>
Date: Thu, 13 Sep 2012 13:27:44 +0200

Thank you very much Jason !

   Best wishes,

       Marek

Dne Thu, 13 Sep 2012 13:27:13 +0200 Jason Swails <jason.swails.gmail.com>
napsal/-a:

> On Thu, Sep 13, 2012 at 4:10 AM, Marek Maly <marek.maly.ujep.cz> wrote:
>
>> Hello all,
>>
>> I would like to know in which pmemd.CUDA source file one can find
>> implementation of the random generator.
>>
>
> There are 2 random generators. The Marsaglia generator used by the CPU
> version (and implemented on GPUs), and the actual CUDA random number
> generator included as part of the CUDA API/language (curand):
> http://developer.nvidia.com/cuda/curand
>
> For learning CUDA, I would suggest leveraging the capabilities of curand
> (on the website) rather than implementing your own (which is only done
> for
> testing purposes in pmemd.cuda). The relevant file in pmemd.cuda is
> rather
> cleverly named kRandom.h (in src/pmemd/src/cuda/) ;).
>
> HTH,
> Jason
>
> --
> Jason M. Swails
> Quantum Theory Project,
> University of Florida
> Ph.D. Candidate
> 352-392-4032
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
> __________ Informace od ESET NOD32 Antivirus, verze databaze 7473
> (20120913) __________
>
> Tuto zpravu proveril ESET NOD32 Antivirus.
>
> http://www.eset.cz
>
>
>


-- 
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Sep 13 2012 - 05:00:03 PDT
Custom Search