From fba43c04cd1addbb953062e9ec60855fc01d2ae3 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Mon, 4 Mar 2024 11:56:44 -0500 Subject: [PATCH] Mon Mar 4 11:56:44 AM EST 2024 --- src/QAnsel.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/QAnsel.c b/src/QAnsel.c index fb19487..9791e5e 100644 --- a/src/QAnsel.c +++ b/src/QAnsel.c @@ -216,20 +216,14 @@ void qansel_instruction(cpx_mtx_t* stateVector, unsigned char qubitCount, QInstr #ifdef GPU_ENABLED if (USE_GPU/* && (tmp.rows >= 512 || tmp.cols >= 512)*/) { - cpx_mtx_knk(tmp.ptr, filter.ptr, gate.ptr, filter.rows, filter.cols, gate.rows, gate.cols); + cpx_mtx_knk_metal(tmp.ptr, filter.ptr, gate.ptr, filter.rows, filter.cols, gate.rows, gate.cols); } else { cpx_mtx_knk(tmp.ptr, filter.ptr, gate.ptr, filter.rows, filter.cols, gate.rows, gate.cols); } #else - cpx_mtx_knk - ( - tmp.ptr, filter.ptr, gate.ptr, - tmp.rows, tmp.cols, - filter.rows, filter.cols, - gate.rows, gate.cols - ); + cpx_mtx_knk(tmp.ptr, filter.ptr, gate.ptr, filter.rows, filter.cols, gate.rows, gate.cols); #endif -- 2.39.5