allendaicool / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

testing should use thrust/random.h rather than ad hoc stuff based on rand #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The behavior of srand/rand is implementation-defined.  Use the stuff in 
thrust/random.h instead.

Original issue reported on code.google.com by jaredhoberock on 26 Apr 2010 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by jaredhoberock on 15 May 2010 at 9:50

GoogleCodeExporter commented 9 years ago
I would suggest using a simple LCG that is independent of libc and 
thrust/random.h.  We don't need particularly good random numbers, just some 
that are reproducible and relatively fast to generate.

Original comment by wnbell on 1 Sep 2010 at 4:48

GoogleCodeExporter commented 9 years ago
why would we do use something independent of thrust/random.h?

Original comment by jaredhoberock on 1 Sep 2010 at 4:59

GoogleCodeExporter commented 9 years ago
This issue was closed by revision ebd0b708b3.

Original comment by jaredhoberock on 2 Sep 2010 at 1:35