From aadde8ae50817559bd69d13cc49083cfdf9441d4 Mon Sep 17 00:00:00 2001 From: Daine McNiven <51674140+daineAMD@users.noreply.github.com> Date: Mon, 5 Jun 2023 09:43:38 -0600 Subject: [PATCH] Merge pull request #605 from daineAMD/cuda12fix Fix for cuda 12 --- library/src/nvidia_detail/hipblas.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/src/nvidia_detail/hipblas.cpp b/library/src/nvidia_detail/hipblas.cpp index 54b6cdbc0..cb7e312bd 100644 --- a/library/src/nvidia_detail/hipblas.cpp +++ b/library/src/nvidia_detail/hipblas.cpp @@ -23,7 +23,6 @@ #include "hipblas.h" #include "exceptions.hpp" -#include #include #include #include @@ -350,7 +349,7 @@ hipblasStatus_t hipblasGetPointerMode(hipblasHandle_t handle, hipblasPointerMode try { cublasPointerMode_t cublasMode; - cublasStatus status = cublasGetPointerMode((cublasHandle_t)handle, &cublasMode); + cublasStatus_t status = cublasGetPointerMode((cublasHandle_t)handle, &cublasMode); *mode = CudaPointerModeToHIPPointerMode(cublasMode); return hipCUBLASStatusToHIPStatus(status); }