]> foleosoft.com Git - QAnsel.git/commitdiff
Mon Mar 4 12:23:57 PM EST 2024
authormiha-q <>
Mon, 4 Mar 2024 17:23:57 +0000 (12:23 -0500)
committermiha-q <>
Mon, 4 Mar 2024 17:23:57 +0000 (12:23 -0500)
src/QAnsel.c

index 4980a726a57cfafe720b1317c743a0ed6a75641e..77574da7c688fe70ae4463c12e6bf7311d6dfd63 100644 (file)
@@ -216,7 +216,7 @@ void qansel_instruction(cpx_mtx_t* stateVector, unsigned char qubitCount, QInstr
                #ifdef GPU_ENABLED
                if (USE_GPU && (tmp.rows >= 1024 || tmp.cols >= 1024))
                {
-                       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
                {