diff options
Diffstat (limited to 'test/routines/level3')
-rw-r--r-- | test/routines/level3/xher2k.hpp | 3 | ||||
-rw-r--r-- | test/routines/level3/xherk.hpp | 2 | ||||
-rw-r--r-- | test/routines/level3/xsyrk.hpp | 4 |
3 files changed, 5 insertions, 4 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), diff --git a/test/routines/level3/xherk.hpp b/test/routines/level3/xherk.hpp index 676d5286..3a676f59 100644 --- a/test/routines/level3/xherk.hpp +++ b/test/routines/level3/xherk.hpp @@ -117,7 +117,7 @@ class TestXherk { // 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 = cublasXherk(args.layout, convertToCUBLAS(args.triangle), convertToCUBLAS(args.a_transpose), diff --git a/test/routines/level3/xsyrk.hpp b/test/routines/level3/xsyrk.hpp index 2ee24a2e..34f8f41a 100644 --- a/test/routines/level3/xsyrk.hpp +++ b/test/routines/level3/xsyrk.hpp @@ -122,8 +122,8 @@ class TestXsyrk { convertToCUBLAS(args.triangle), convertToCUBLAS(args.a_transpose), args.n, args.k, args.alpha, - buffer.a_mat, args.a_offset, args.a_ld, args.beta, - buffer.c_mat, args.c_offset, args.c_ld); + buffers.a_mat, args.a_offset, args.a_ld, args.beta, + buffers.c_mat, args.c_offset, args.c_ld); if (status == CUBLAS_STATUS_SUCCESS) { return StatusCode::kSuccess; } else { return StatusCode::kUnknownError; } } #endif |