From ff0e45c0d64d6801295473a66445ffe6d41d1ea8 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Sun, 3 Mar 2024 23:31:29 -0500 Subject: [PATCH] Sun Mar 3 11:31:29 PM EST 2024 --- src/QAnsel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/QAnsel.c b/src/QAnsel.c index 4269040..73afa05 100644 --- a/src/QAnsel.c +++ b/src/QAnsel.c @@ -220,8 +220,7 @@ void qansel_instruction(cpx_mtx_t* stateVector, uint8_t qubitCount, QInstr* inst tmp.ptr = malloc((tmp.rows * 2) * (tmp.cols * 2) * sizeof(float)); #ifdef GPU_ENABLED - printf("%i;%i\n", tmp.rows, tmp.cols); - if (USE_GPU) + if (USE_GPU && (tmp.rows >= 512 || tmp.cols >= 512)) { GPU_knk ( -- 2.39.5