diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-13 21:31:27 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-13 21:31:27 +0200 |
commit | f7f8ec644f51d16f888b6a7086009b79c0beef8f (patch) | |
tree | 88f652bba2a980b44010f415ed5d48af15d0b063 /test/routines/level2/xger.hpp | |
parent | f24c142948fc71d8b37826c1275259668fe0d0e5 (diff) |
Fixed CUDA malloc and cuBLAS handles: cuBLAS as a performance-reference now works
Diffstat (limited to 'test/routines/level2/xger.hpp')
-rw-r--r-- | test/routines/level2/xger.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/level2/xger.hpp b/test/routines/level2/xger.hpp index 7fe37e1a..92a1a2ae 100644 --- a/test/routines/level2/xger.hpp +++ b/test/routines/level2/xger.hpp @@ -120,7 +120,7 @@ class TestXger { // 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 = cublasXger(args.layout, + auto status = cublasXger(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout, args.m, args.n, args.alpha, buffers.x_vec, args.x_offset, args.x_inc, buffers.y_vec, args.y_offset, args.y_inc, |