From: miha-q <> Date: Mon, 4 Mar 2024 16:56:44 +0000 (-0500) Subject: Mon Mar 4 11:56:44 AM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=fba43c04cd1addbb953062e9ec60855fc01d2ae3;p=QAnsel.git Mon Mar 4 11:56:44 AM EST 2024 --- 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