summaryrefslogtreecommitdiff
path: root/test/routines/level3
diff options
context:
space:
mode:
Diffstat (limited to 'test/routines/level3')
-rw-r--r--test/routines/level3/xgemm.hpp2
-rw-r--r--test/routines/level3/xhemm.hpp2
-rw-r--r--test/routines/level3/xher2k.hpp2
-rw-r--r--test/routines/level3/xherk.hpp2
-rw-r--r--test/routines/level3/xsymm.hpp2
-rw-r--r--test/routines/level3/xsyr2k.hpp2
-rw-r--r--test/routines/level3/xsyrk.hpp2
-rw-r--r--test/routines/level3/xtrmm.hpp2
-rw-r--r--test/routines/level3/xtrsm.hpp2
9 files changed, 9 insertions, 9 deletions
diff --git a/test/routines/level3/xgemm.hpp b/test/routines/level3/xgemm.hpp
index 36fa2f43..7e0ead6d 100644
--- a/test/routines/level3/xgemm.hpp
+++ b/test/routines/level3/xgemm.hpp
@@ -130,7 +130,7 @@ class TestXgemm {
// 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 = cublasXgemm(args.layout,
+ auto status = cublasXgemm(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.a_transpose),
convertToCUBLAS(args.b_transpose),
args.m, args.n, args.k, args.alpha,
diff --git a/test/routines/level3/xhemm.hpp b/test/routines/level3/xhemm.hpp
index 9400a1fc..a89617b5 100644
--- a/test/routines/level3/xhemm.hpp
+++ b/test/routines/level3/xhemm.hpp
@@ -130,7 +130,7 @@ class TestXhemm {
// 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 = cublasXhemm(args.layout,
+ auto status = cublasXhemm(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.side),
convertToCUBLAS(args.triangle),
args.m, args.n, args.alpha,
diff --git a/test/routines/level3/xher2k.hpp b/test/routines/level3/xher2k.hpp
index 2b0fff64..55e6d894 100644
--- a/test/routines/level3/xher2k.hpp
+++ b/test/routines/level3/xher2k.hpp
@@ -132,7 +132,7 @@ class TestXher2k {
#ifdef CLBLAST_REF_CUBLAS
static StatusCode RunReference3(const Arguments<U> &args, BuffersCUDA<T> &buffers, Queue &) {
auto alpha2 = T{args.alpha, args.alpha};
- auto status = cublasXher2k(args.layout,
+ auto status = cublasXher2k(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.triangle),
convertToCUBLAS(args.a_transpose),
args.n, args.k, alpha2,
diff --git a/test/routines/level3/xherk.hpp b/test/routines/level3/xherk.hpp
index 3a676f59..3e1e7e02 100644
--- a/test/routines/level3/xherk.hpp
+++ b/test/routines/level3/xherk.hpp
@@ -118,7 +118,7 @@ class TestXherk {
// Describes how to run the cuBLAS routine (for correctness/performance comparison)
#ifdef CLBLAST_REF_CUBLAS
static StatusCode RunReference3(const Arguments<U> &args, BuffersCUDA<T> &buffers, Queue &) {
- auto status = cublasXherk(args.layout,
+ auto status = cublasXherk(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.triangle),
convertToCUBLAS(args.a_transpose),
args.n, args.k, args.alpha,
diff --git a/test/routines/level3/xsymm.hpp b/test/routines/level3/xsymm.hpp
index 4888091b..5d840d40 100644
--- a/test/routines/level3/xsymm.hpp
+++ b/test/routines/level3/xsymm.hpp
@@ -130,7 +130,7 @@ class TestXsymm {
// 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 = cublasXsymm(args.layout,
+ auto status = cublasXsymm(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.side),
convertToCUBLAS(args.triangle),
args.m, args.n, args.alpha,
diff --git a/test/routines/level3/xsyr2k.hpp b/test/routines/level3/xsyr2k.hpp
index 2fc4090c..4a4a2f10 100644
--- a/test/routines/level3/xsyr2k.hpp
+++ b/test/routines/level3/xsyr2k.hpp
@@ -128,7 +128,7 @@ class TestXsyr2k {
// 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 = cublasXsyr2k(args.layout,
+ auto status = cublasXsyr2k(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.triangle),
convertToCUBLAS(args.a_transpose),
args.n, args.k, args.alpha,
diff --git a/test/routines/level3/xsyrk.hpp b/test/routines/level3/xsyrk.hpp
index 34f8f41a..90e46727 100644
--- a/test/routines/level3/xsyrk.hpp
+++ b/test/routines/level3/xsyrk.hpp
@@ -118,7 +118,7 @@ class TestXsyrk {
// 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 = cublasXsyrk(args.layout,
+ auto status = cublasXsyrk(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.triangle),
convertToCUBLAS(args.a_transpose),
args.n, args.k, args.alpha,
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<T> &args, BuffersCUDA<T> &buffers, Queue &) {
- auto status = cublasXtrmm(args.layout,
+ auto status = cublasXtrmm(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.side),
convertToCUBLAS(args.triangle),
convertToCUBLAS(args.a_transpose),
diff --git a/test/routines/level3/xtrsm.hpp b/test/routines/level3/xtrsm.hpp
index 10b216cc..d63c9d79 100644
--- a/test/routines/level3/xtrsm.hpp
+++ b/test/routines/level3/xtrsm.hpp
@@ -133,7 +133,7 @@ class TestXtrsm {
// 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 = cublasXtrsm(args.layout,
+ auto status = cublasXtrsm(reinterpret_cast<cublasHandle_t>(args.cublas_handle), args.layout,
convertToCUBLAS(args.side),
convertToCUBLAS(args.triangle),
convertToCUBLAS(args.a_transpose),