From: miha-q <> Date: Mon, 4 Mar 2024 15:19:38 +0000 (-0500) Subject: Mon Mar 4 10:19:38 AM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=8846acbe902f84aa2978d98d5c1b0e38ae3d8416;p=QAnsel.git Mon Mar 4 10:19:38 AM EST 2024 --- diff --git a/src/QAnsel.c b/src/QAnsel.c index 957ae01..b141adc 100644 --- a/src/QAnsel.c +++ b/src/QAnsel.c @@ -223,9 +223,9 @@ void qansel_instruction(cpx_mtx_t* stateVector, unsigned char qubitCount, QInstr tmp.ptr = malloc(tmp.rows * (tmp.cols * 2) * sizeof(float)); #ifdef GPU_ENABLED - if (USE_GPU/* && (tmp.rows >= 512 || tmp.cols >= 512)*/) + if (USE_GPU && (tmp.rows >= 512 || tmp.cols >= 512)) { - cpx_mtx_knk + cpx_mtx_knk_metal ( tmp.ptr, filter.ptr, gate.ptr, tmp.rows, tmp.cols,