diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-03-12 10:41:18 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-03-12 10:41:18 +0100 |
commit | 068ff32e9f8094bf848cbc5bd250a8f25776960e (patch) | |
tree | 9932e20036b2e03c25e2c008dd46ff8a7a6a2ea7 /test/correctness | |
parent | 7b8f8fce6808f2095a68afe97256db7a78f819fa (diff) |
Fixed a linker issue for Clang
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_; |