]> foleosoft.com Git - QAnsel.git/commitdiff
Mon Mar 4 08:47:28 PM EST 2024
authormiha-q <>
Tue, 5 Mar 2024 01:47:28 +0000 (20:47 -0500)
committermiha-q <>
Tue, 5 Mar 2024 01:47:28 +0000 (20:47 -0500)
src/QAnsel.c

index 55bce0547fba927140a60fa457e327a5609cf06e..8284129c9e13a4701cf8436eb3f97061bfdff33b 100644 (file)
@@ -230,7 +230,7 @@ void qansel_instruction(cpx_mtx_t* stateVector, unsigned char qubitCount, QInstr
                #else
                if (USE_GPU)
                {
-                       cpx_mtx_knk(tmp.ptr, filter.ptr, gate.ptr, filter.rows, filter.cols, gate.rows, gate.cols);
+                       cpx_mtx_knk_threads(tmp.ptr, filter.ptr, gate.ptr, filter.rows, filter.cols, gate.rows, gate.cols);
                }
                else if (USE_THREADS)
                {