From f7f8ec644f51d16f888b6a7086009b79c0beef8f Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Thu, 13 Apr 2017 21:31:27 +0200 Subject: Fixed CUDA malloc and cuBLAS handles: cuBLAS as a performance-reference now works --- test/routines/level3/xtrmm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/routines/level3/xtrmm.hpp') diff --git a/test/routines/level3/xtrmm.hpp b/test/routines/level3/xtrmm.hpp index abf77db9..acc00e01 100644 --- a/test/routines/level3/xtrmm.hpp +++ b/test/routines/level3/xtrmm.hpp @@ -122,7 +122,7 @@ class TestXtrmm { // Describes how to run the cuBLAS routine (for correctness/performance comparison) #ifdef CLBLAST_REF_CUBLAS static StatusCode RunReference3(const Arguments &args, BuffersCUDA &buffers, Queue &) { - auto status = cublasXtrmm(args.layout, + auto status = cublasXtrmm(reinterpret_cast(args.cublas_handle), args.layout, convertToCUBLAS(args.side), convertToCUBLAS(args.triangle), convertToCUBLAS(args.a_transpose), -- cgit v1.2.3