From 50d8811954bda3929335ea72b0b53f56b009be10 Mon Sep 17 00:00:00 2001 From: Alessio Sclocco Date: Wed, 27 Nov 2024 15:28:08 +0100 Subject: [PATCH] Adapt interface to KMM 0.3 --- src/trajectories/signal.cu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/trajectories/signal.cu b/src/trajectories/signal.cu index e058637..3216088 100644 --- a/src/trajectories/signal.cu +++ b/src/trajectories/signal.cu @@ -131,13 +131,13 @@ void magnetization_to_signal_cartesian_gemm( cuComplex alpha = {1, 0}; cuComplex beta = {0, 0}; - gpuDataType_t output_type = GPU_C_32F; - gpuDataType_t input_type = GPU_C_32F; + cudaDataType_t output_type = GPU_C_32F; + cudaDataType_t input_type = GPU_C_32F; cublasGemmAlgo_t compute_algo = CUBLAS_GEMM_DEFAULT; COMPAS_GPU_CHECK(cublasSetStream(context.cublas(), nullptr)); COMPAS_GPU_CHECK(cublasGemmEx( - context.cublas(), + context.blas(), CUBLAS_OP_T, // transa CUBLAS_OP_N, // transb samples_per_readout, // m