From b4dd7022227cb6598bf8c025b4b0ce0549c3c0b6 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Sun, 3 Mar 2024 23:20:50 -0500 Subject: [PATCH] Sun Mar 3 11:20:50 PM EST 2024 --- src/QAnsel.c | 2 +- src/gpu/gpu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QAnsel.c b/src/QAnsel.c index df685dc..cb5f0c3 100644 --- a/src/QAnsel.c +++ b/src/QAnsel.c @@ -222,7 +222,7 @@ void qansel_instruction(cpx_mtx_t* stateVector, uint8_t qubitCount, QInstr* inst #ifdef GPU_ENABLED if (USE_GPU) { - cpx_ncpx_knk_mt + GPU_knk ( tmp.ptr, tmp.rows, tmp.cols, filter.ptr, filter.rows, filter.cols, diff --git a/src/gpu/gpu.c b/src/gpu/gpu.c index 1f1d63b..e50d8c6 100644 --- a/src/gpu/gpu.c +++ b/src/gpu/gpu.c @@ -71,7 +71,7 @@ void GPU_clean() free(GPU_mmul_cache); } -void GPU_mmul(float* ptrR, float* ptrA, float* ptrB, size_t rowsA, size_t colsB, size_t shared) +void GPU_mmul(float* ptrR, float* ptrA, float* ptrB, int rowsA, int colsB, int shared) { //Create buffers size_t sizeA = rowsA * shared; -- 2.39.5