summaryrefslogtreecommitdiff
path: root/test/routines/level1/xaxpy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/routines/level1/xaxpy.hpp')
-rw-r--r--test/routines/level1/xaxpy.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/level1/xaxpy.hpp b/test/routines/level1/xaxpy.hpp
index 98f0e380..17cae6ad 100644
--- a/test/routines/level1/xaxpy.hpp
+++ b/test/routines/level1/xaxpy.hpp
@@ -107,7 +107,7 @@ class TestXaxpy {
// 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 &) {
- auto status = cublasXaxpy(args.n, args.alpha,
+ auto status = cublasXaxpy(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.n, args.alpha,
buffers.x_vec, args.x_offset, args.x_inc,
buffers.y_vec, args.y_offset, args.y_inc);
if (status == CUBLAS_STATUS_SUCCESS) { return StatusCode::kSuccess; } else { return StatusCode::kUnknownError; }