ComputationalRadiationPhysics / haseongpu

HASEonGPU: High performance Amplified Spontaneous Emission on GPU
http://www.hzdr.de/crp
Other
7 stars 5 forks source link

Alpaka random number generator #101

Closed erikzenker closed 8 years ago

erikzenker commented 9 years ago

Alpaka provides an abstraction for random number generation, but does not support the mersenne twister we use yet. Nevertheless, we need to create random number generation object. Because currently a random number generator is initialized again and again for every call of these functions (bad, but works for now). The following spots in the HASEonGPU code uses random numbers:

are there more ?

erikzenker commented 8 years ago

Fixed in topic-alpaka.