UoB-HPC / SimEng

The University of Bristol HPC Simulation Engine
https://uob-hpc.github.io/SimEng
Apache License 2.0
93 stars 20 forks source link

Fix up random buffer value generation. #413

Open tom91136 opened 6 months ago

tom91136 commented 6 months ago

As per https://github.com/UoB-HPC/SimEng/pull/408#discussion_r1609681048_ We should replace rand with a fixed seed and use a normal C++ PRNG so that we can generate something in range of the correct type.