From e78382652e42897faa5358d185bdaa0955f3a620 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Mon, 4 Mar 2024 12:22:59 -0500 Subject: [PATCH] Mon Mar 4 12:22:59 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 252ced9..4980a72 100644 --- a/src/QAnsel.c +++ b/src/QAnsel.c @@ -214,7 +214,7 @@ void qansel_instruction(cpx_mtx_t* stateVector, unsigned char qubitCount, QInstr tmp.ptr = malloc(tmp.rows * (tmp.cols * 2) * sizeof(float)); #ifdef GPU_ENABLED - if (USE_GPU/* && (tmp.rows >= 512 || tmp.cols >= 512)*/) + if (USE_GPU && (tmp.rows >= 1024 || tmp.cols >= 1024)) { cpx_mtx_knk(tmp.ptr, filter.ptr, gate.ptr, filter.rows, filter.cols, gate.rows, gate.cols); } -- 2.39.5