summaryrefslogtreecommitdiff
path: root/test/routines/level2
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-04-11 21:50:18 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-04-11 21:50:18 +0200
commitf24c142948fc71d8b37826c1275259668fe0d0e5 (patch)
treef7fd8698b5cf823629a98d3f3399e311ca3be65a /test/routines/level2
parent6b625f8915ce0596d65187bd3a8eb47e91a0084e (diff)
Made compilation of the cuBLAS wrapper work properly
Diffstat (limited to 'test/routines/level2')
-rw-r--r--test/routines/level2/xher.hpp2
-rw-r--r--test/routines/level2/xhpr.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/routines/level2/xher.hpp b/test/routines/level2/xher.hpp
index 980e8d8b..c313d0f5 100644
--- a/test/routines/level2/xher.hpp
+++ b/test/routines/level2/xher.hpp
@@ -112,7 +112,7 @@ class TestXher {
// Describes how to run the cuBLAS routine (for correctness/performance comparison)
#ifdef CLBLAST_REF_CUBLAS
- static StatusCode RunReference3(const Arguments<T> &args, BuffersCUDA<T> &buffers, Queue &) {
+ static StatusCode RunReference3(const Arguments<U> &args, BuffersCUDA<T> &buffers, Queue &) {
auto status = cublasXher(args.layout,
convertToCUBLAS(args.triangle),
args.n, args.alpha,
diff --git a/test/routines/level2/xhpr.hpp b/test/routines/level2/xhpr.hpp
index 8148c253..986059bd 100644
--- a/test/routines/level2/xhpr.hpp
+++ b/test/routines/level2/xhpr.hpp
@@ -112,7 +112,7 @@ class TestXhpr {
// Describes how to run the cuBLAS routine (for correctness/performance comparison)
#ifdef CLBLAST_REF_CUBLAS
- static StatusCode RunReference3(const Arguments<T> &args, BuffersCUDA<T> &buffers, Queue &) {
+ static StatusCode RunReference3(const Arguments<U> &args, BuffersCUDA<T> &buffers, Queue &) {
auto status = cublasXhpr(args.layout,
convertToCUBLAS(args.triangle),
args.n, args.alpha,