summaryrefslogtreecommitdiff
path: root/test/routines/level1/xnrm2.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/routines/level1/xnrm2.hpp')
-rw-r--r--test/routines/level1/xnrm2.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/level1/xnrm2.hpp b/test/routines/level1/xnrm2.hpp
index 096604d1..1db70537 100644
--- a/test/routines/level1/xnrm2.hpp
+++ b/test/routines/level1/xnrm2.hpp
@@ -106,7 +106,7 @@ class TestXnrm2 {
// 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 = cublasXnrm2(args.n,
+ auto status = cublasXnrm2(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.n,
buffers.scalar, args.nrm2_offset,
buffers.x_vec, args.x_offset, args.x_inc);
if (status == CUBLAS_STATUS_SUCCESS) { return StatusCode::kSuccess; } else { return StatusCode::kUnknownError; }