From 7f14b11f1e240f12f5f6bf93cbbeab26001e9a5c Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sun, 5 Mar 2017 11:13:47 +0100 Subject: Changed the way the test-data is generated: now using a single MT generator and distribution for all data --- src/utilities/utilities.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utilities/utilities.hpp') diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp index 3c9be6a2..330db597 100644 --- a/src/utilities/utilities.hpp +++ b/src/utilities/utilities.hpp @@ -20,6 +20,7 @@ #include #include #include +#include #include "clpp11.hpp" #include "clblast.h" @@ -234,7 +235,7 @@ constexpr auto kTestDataUpperLimit = 2.0; // Populates a vector with random data template -void PopulateVector(std::vector &vector, const unsigned int seed); +void PopulateVector(std::vector &vector, std::mt19937 &mt, std::uniform_real_distribution &dist); // ================================================================================================= -- cgit v1.2.3