]> foleosoft.com Git - QAnsel.git/commitdiff
Mon Mar 4 12:03:33 AM EST 2024
authormiha-q <>
Mon, 4 Mar 2024 05:03:33 +0000 (00:03 -0500)
committermiha-q <>
Mon, 4 Mar 2024 05:03:33 +0000 (00:03 -0500)
src/QAnsel.c

index 2f2e72fd7c2e7ae6d13d279fdbd98876c27d30d1..e9f54ad812979e003bec662c5351d28324f3d59f 100644 (file)
@@ -222,18 +222,18 @@ void qansel_instruction(cpx_mtx_t* stateVector, uint8_t qubitCount, QInstr* inst
                #ifdef GPU_ENABLED
                if (USE_GPU && (tmp.rows >= 512 || tmp.cols >= 512))
                {
-                       //GPU_knk
-                       //(
-                       //      tmp.ptr, tmp.rows, tmp.cols,
-                       //      filter.ptr, filter.rows, filter.cols,
-                       //      gate.ptr, gate.rows, gate.cols
-                       //);
-                       cpx_ncpx_knk_mt
+                       GPU_knk
                        (
                                tmp.ptr, tmp.rows, tmp.cols,
                                filter.ptr, filter.rows, filter.cols,
                                gate.ptr, gate.rows, gate.cols
                        );
+                       //cpx_ncpx_knk_mt
+                       //(
+                       //      tmp.ptr, tmp.rows, tmp.cols,
+                       //      filter.ptr, filter.rows, filter.cols,
+                       //      gate.ptr, gate.rows, gate.cols
+                       //);
                }
                else
                {