diff options
Diffstat (limited to 'test/correctness')
-rw-r--r-- | test/correctness/testblas.cpp | 2 | ||||
-rw-r--r-- | test/correctness/testblas.hpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/correctness/testblas.cpp b/test/correctness/testblas.cpp index 56376d0b..4a620686 100644 --- a/test/correctness/testblas.cpp +++ b/test/correctness/testblas.cpp @@ -21,6 +21,8 @@ namespace clblast { // ================================================================================================= +template <typename T, typename U> const auto TestBlas<T,U>::kSeed = 42; // fixed seed for reproducibility + // Test settings for the regular test. Append to these lists in case more tests are required. template <typename T, typename U> const std::vector<size_t> TestBlas<T,U>::kVectorDims = { 7, 93, 4096 }; template <typename T, typename U> const std::vector<size_t> TestBlas<T,U>::kIncrements = { 1, 2, 7 }; diff --git a/test/correctness/testblas.hpp b/test/correctness/testblas.hpp index 42e8aef7..8c8db348 100644 --- a/test/correctness/testblas.hpp +++ b/test/correctness/testblas.hpp @@ -30,7 +30,7 @@ namespace clblast { template <typename T, typename U> class TestBlas: public Tester<T,U> { public: - static constexpr auto kSeed = 42; // fixed seed for reproducibility + static const int kSeed; // Uses several variables from the Tester class using Tester<T,U>::context_; |