summaryrefslogtreecommitdiff
path: root/test/routines/level3/xher2k.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/routines/level3/xher2k.hpp')
-rw-r--r--test/routines/level3/xher2k.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/routines/level3/xher2k.hpp b/test/routines/level3/xher2k.hpp
index b341c4d7..2b0fff64 100644
--- a/test/routines/level3/xher2k.hpp
+++ b/test/routines/level3/xher2k.hpp
@@ -130,7 +130,8 @@ class TestXher2k {
// 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 alpha2 = T{args.alpha, args.alpha};
auto status = cublasXher2k(args.layout,
convertToCUBLAS(args.triangle),
convertToCUBLAS(args.a_transpose),