summaryrefslogtreecommitdiff
path: root/test/routines/level2/xtrsv.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-04-13 21:31:27 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-04-13 21:31:27 +0200
commitf7f8ec644f51d16f888b6a7086009b79c0beef8f (patch)
tree88f652bba2a980b44010f415ed5d48af15d0b063 /test/routines/level2/xtrsv.hpp
parentf24c142948fc71d8b37826c1275259668fe0d0e5 (diff)
Fixed CUDA malloc and cuBLAS handles: cuBLAS as a performance-reference now works
Diffstat (limited to 'test/routines/level2/xtrsv.hpp')
-rw-r--r--test/routines/level2/xtrsv.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/routines/level2/xtrsv.hpp b/test/routines/level2/xtrsv.hpp
index 4428271a..85b50e85 100644
--- a/test/routines/level2/xtrsv.hpp
+++ b/test/routines/level2/xtrsv.hpp
@@ -131,7 +131,7 @@ class TestXtrsv {
// 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 = cublasXtrsv(args.layout,
+ auto status = cublasXtrsv(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.triangle),
convertToCUBLAS(args.a_transpose),
convertToCUBLAS(args.diagonal),