|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re^17: PDL and srand puzzle - PDL non-thread testingby etj (Priest) |
| on Jun 10, 2024 at 10:49 UTC ( [id://11159875]=note: print w/replies, xml ) | Need Help?? |
|
I'm referring to the parallel non-thread demonstration. It does not produce predictable results unless calling CORE::rand.So you described the situation wrong? You can have predictable results with PDL if you call random() to generate data before creating threads.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||