diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-05-26 23:36:19 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-05-26 23:36:19 +0200 |
commit | 03182f9d07533f795a498936391da744d982e8e2 (patch) | |
tree | 3a73046809927abd1000fe3309f37787d1791976 /test/correctness/testblas.cc | |
parent | b487d4dd44179293c9e08ddf2ce3ed902fa749c8 (diff) |
Added half-precision tests for the clBLAS reference through conversion to single-precision
Diffstat (limited to 'test/correctness/testblas.cc')
-rw-r--r-- | test/correctness/testblas.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/correctness/testblas.cc b/test/correctness/testblas.cc index cbf8b0a0..50871402 100644 --- a/test/correctness/testblas.cc +++ b/test/correctness/testblas.cc @@ -170,6 +170,7 @@ template <typename T, typename U> void TestBlas<T,U>::TestInvalid(std::vector<Arguments<U>> &test_vector, const std::string &name) { if (!PrecisionSupported<T>(device_)) { return; } if (!compare_clblas_) { return; } + if (std::is_same<T, half>::value) { return; } TestStart("invalid buffer sizes", name); // Iterates over all the to-be-tested combinations of arguments |