From: miha-q <> Date: Mon, 4 Mar 2024 04:20:50 +0000 (-0500) Subject: Sun Mar 3 11:20:50 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=b4dd7022227cb6598bf8c025b4b0ce0549c3c0b6;p=QAnsel.git Sun Mar 3 11:20:50 PM EST 2024 --- 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;