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

index 33be21324c754e0118801e80f4a4bb12631a4ce2..6dea39327f5d44e6afd6b3023af2724c368aacd3 100644 (file)
@@ -237,7 +237,7 @@ void qansel_instruction(cpx_mtx_t* stateVector, unsigned char qubitCount, QInstr
        #ifdef GPU_ENABLED
        if (USE_GPU && (filter.cols >= 512 || stateVector->cols >= 512))
        {
-               cpx_mtx_dot_metal(tmp.ptr, stateVector->ptr, filter.ptr, stateVector->rows, stateVector->cols, filter.rows, filter.cols);
+               cpx_mtx_dot(tmp.ptr, stateVector->ptr, filter.ptr, stateVector->rows, stateVector->cols, filter.rows, filter.cols);
        }
        else
        {
index 0d9c69a95ca71f1d3413b994267ebb278a809a6c..2f0c8a6684b1b00f7398c3384cf2dba9041fcf64 100644 (file)
@@ -16,7 +16,6 @@ __kernel void kernel_dot
     int posA, posB;
     float rR = 0;
     float iR = 0;
-
     const int posR = rowR * (colsR * 2) + (colR * 2);
 
     for (int i = 0; i < colsA; i++)