summaryrefslogtreecommitdiff
path: root/test/performance/client.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-09-27 19:55:21 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-09-27 19:55:21 +0200
commit6178fcd5847b0531a3290fc7c1737dea4eba524c (patch)
tree135b359a8599d96b8745cf21faa07165904b5e1b /test/performance/client.cpp
parente3076d26ccb2bbe0869011d7f0664281f581d1e9 (diff)
Now generates test/client/tuner data using a fixed seed to enable reproducability of results
Diffstat (limited to 'test/performance/client.cpp')
-rw-r--r--test/performance/client.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/performance/client.cpp b/test/performance/client.cpp
index aaaab22e..cbb10d10 100644
--- a/test/performance/client.cpp
+++ b/test/performance/client.cpp
@@ -178,13 +178,13 @@ void Client<T,U>::PerformanceTest(Arguments<U> &args, const SetMetric set_sizes)
std::vector<T> c_source(args.c_size);
std::vector<T> ap_source(args.ap_size);
std::vector<T> scalar_source(args.scalar_size);
- PopulateVector(x_source);
- PopulateVector(y_source);
- PopulateVector(a_source);
- PopulateVector(b_source);
- PopulateVector(c_source);
- PopulateVector(ap_source);
- PopulateVector(scalar_source);
+ PopulateVector(x_source, kSeed);
+ PopulateVector(y_source, kSeed);
+ PopulateVector(a_source, kSeed);
+ PopulateVector(b_source, kSeed);
+ PopulateVector(c_source, kSeed);
+ PopulateVector(ap_source, kSeed);
+ PopulateVector(scalar_source, kSeed);
// Creates the matrices on the device
auto x_vec = Buffer<T>(context, args.x_size);