]> foleosoft.com Git - QAnsel.git/commitdiff
Mon Mar 4 09:17:09 PM EST 2024
authormiha-q <>
Tue, 5 Mar 2024 02:17:09 +0000 (21:17 -0500)
committermiha-q <>
Tue, 5 Mar 2024 02:17:09 +0000 (21:17 -0500)
src/QAnsel.c

index 3c05e2e9c9773a6b2fb5c0b6968eb679966158ca..43b83d08ae70670ef83d8ec9eeec245201916b8a 100644 (file)
@@ -266,7 +266,7 @@ void qansel_instruction(cpx_mtx_t* stateVector, unsigned char qubitCount, QInstr
        us2 = get_time();
        printf("\tBare: %lu\n", us2 - us1);
        #else
-       if (USE_GPU && tmp.cols >= 512)
+       if (USE_GPU && tmp.cols >= 64)
        {
                cpx_mtx_dot_metal(tmp.ptr, stateVector->ptr, filter.ptr, stateVector->rows, stateVector->cols, filter.rows, filter.cols);
        }