mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-07-15 19:05:44 +02:00
Fixed a linker issue for Clang
This commit is contained in:
parent
7b8f8fce68
commit
068ff32e9f
|
@ -21,6 +21,8 @@
|
||||||
namespace clblast {
|
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.
|
// 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>::kVectorDims = { 7, 93, 4096 };
|
||||||
template <typename T, typename U> const std::vector<size_t> TestBlas<T,U>::kIncrements = { 1, 2, 7 };
|
template <typename T, typename U> const std::vector<size_t> TestBlas<T,U>::kIncrements = { 1, 2, 7 };
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace clblast {
|
||||||
template <typename T, typename U>
|
template <typename T, typename U>
|
||||||
class TestBlas: public Tester<T,U> {
|
class TestBlas: public Tester<T,U> {
|
||||||
public:
|
public:
|
||||||
static constexpr auto kSeed = 42; // fixed seed for reproducibility
|
static const int kSeed;
|
||||||
|
|
||||||
// Uses several variables from the Tester class
|
// Uses several variables from the Tester class
|
||||||
using Tester<T,U>::context_;
|
using Tester<T,U>::context_;
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
namespace clblast {
|
namespace clblast {
|
||||||
// =================================================================================================
|
// =================================================================================================
|
||||||
|
|
||||||
|
template <typename T, typename U> const auto Client<T,U>::kSeed = 42; // fixed seed for reproducibility
|
||||||
|
|
||||||
// Constructor
|
// Constructor
|
||||||
template <typename T, typename U>
|
template <typename T, typename U>
|
||||||
Client<T,U>::Client(const Routine run_routine,
|
Client<T,U>::Client(const Routine run_routine,
|
||||||
|
|
|
@ -40,7 +40,7 @@ namespace clblast {
|
||||||
template <typename T, typename U>
|
template <typename T, typename U>
|
||||||
class Client {
|
class Client {
|
||||||
public:
|
public:
|
||||||
static constexpr auto kSeed = 42; // fixed seed for reproducibility
|
static const int kSeed;
|
||||||
|
|
||||||
// Shorthand for the routine-specific functions passed to the tester
|
// Shorthand for the routine-specific functions passed to the tester
|
||||||
using Routine = std::function<StatusCode(const Arguments<U>&, Buffers<T>&, Queue&)>;
|
using Routine = std::function<StatusCode(const Arguments<U>&, Buffers<T>&, Queue&)>;
|
||||||
|
|
Loading…
Reference in a new issue