From 5673a7eb63b640b0a6a8807943cc821bb98563e1 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 17 Oct 2024 21:42:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=9F=E8=AE=B8=E8=BF=99=E6=A0=B7=E8=A1=8C?= =?UTF-8?q?=E5=91=A2=EF=BC=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 538325c..9e2765a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,7 +62,7 @@ fn main() -> anyhow::Result<()> { property |= CL_QUEUE_ON_DEVICE; } let queue = match CommandQueue::create_default_with_properties( - &context, property, worker_count as u32, // 写死试试, 看起来没问题 + &context, property, 0 ) { Ok(q) => q, Err(err) => {