diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-09-27 19:55:21 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-09-27 19:55:21 +0200 |
commit | 6178fcd5847b0531a3290fc7c1737dea4eba524c (patch) | |
tree | 135b359a8599d96b8745cf21faa07165904b5e1b /test/correctness/testblas.cpp | |
parent | e3076d26ccb2bbe0869011d7f0664281f581d1e9 (diff) |
Now generates test/client/tuner data using a fixed seed to enable reproducability of results
Diffstat (limited to 'test/correctness/testblas.cpp')
-rw-r--r-- | test/correctness/testblas.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/correctness/testblas.cpp b/test/correctness/testblas.cpp index 2e751255..fc908b9e 100644 --- a/test/correctness/testblas.cpp +++ b/test/correctness/testblas.cpp @@ -66,13 +66,13 @@ TestBlas<T,U>::TestBlas(int argc, char *argv[], const bool silent, c_source_.resize(std::max(max_mat, max_matvec)*std::max(max_ld, max_matvec) + max_offset); ap_source_.resize(std::max(max_mat, max_matvec)*std::max(max_mat, max_matvec) + max_offset); scalar_source_.resize(std::max(max_mat, max_matvec) + max_offset); - 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); } // =============================================================================================== |