From a0980e08c59a1b346d90b4d2dc8ba3a4e5e3ff0d Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Mon, 4 Mar 2024 21:17:53 -0500 Subject: [PATCH] Mon Mar 4 09:17:53 PM EST 2024 --- src/QAnsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QAnsel.c b/src/QAnsel.c index 43b83d0..16bdbd5 100644 --- a/src/QAnsel.c +++ b/src/QAnsel.c @@ -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 >= 64) + if (USE_GPU && tmp.cols >= 32) { cpx_mtx_dot_metal(tmp.ptr, stateVector->ptr, filter.ptr, stateVector->rows, stateVector->cols, filter.rows, filter.cols); } -- 2.39.5