summaryrefslogtreecommitdiff
path: root/test/routines/levelx
diff options
context:
space:
mode:
Diffstat (limited to 'test/routines/levelx')
-rw-r--r--test/routines/levelx/xaxpybatched.hpp2
-rw-r--r--test/routines/levelx/xgemmbatched.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/routines/levelx/xaxpybatched.hpp b/test/routines/levelx/xaxpybatched.hpp
index add6c1e1..5385e86e 100644
--- a/test/routines/levelx/xaxpybatched.hpp
+++ b/test/routines/levelx/xaxpybatched.hpp
@@ -129,7 +129,7 @@ class TestXaxpyBatched {
#ifdef CLBLAST_REF_CUBLAS
static StatusCode RunReference3(const Arguments<T> &args, BuffersCUDA<T> &buffers, Queue &) {
for (auto batch = size_t{0}; batch < args.batch_count; ++batch) {
- auto status = cublasXaxpy(args.n, args.alphas[batch],
+ auto status = cublasXaxpy(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.n, args.alphas[batch],
buffers.x_vec, args.x_offsets[batch], args.x_inc,
buffers.y_vec, args.y_offsets[batch], args.y_inc);
if (status != CUBLAS_STATUS_SUCCESS) { return StatusCode::kUnknownError; }
diff --git a/test/routines/levelx/xgemmbatched.hpp b/test/routines/levelx/xgemmbatched.hpp
index ae8630c0..ebfd8b19 100644
--- a/test/routines/levelx/xgemmbatched.hpp
+++ b/test/routines/levelx/xgemmbatched.hpp
@@ -164,7 +164,7 @@ class TestXgemmBatched {
#ifdef CLBLAST_REF_CUBLAS
static StatusCode RunReference3(const Arguments<T> &args, BuffersCUDA<T> &buffers, Queue &) {
for (auto batch = size_t{0}; batch < args.batch_count; ++batch) {
- auto status = cublasXgemm(args.layout,
+ auto status = cublasXgemm(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.a_transpose),
convertToCUBLAS(args.b_transpose),
args.m, args.n, args.k, args.alphas[batch],