From c21484b567067c25e6256713cf599a88d92939cd Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Wed, 16 Oct 2024 22:18:09 +0800 Subject: [PATCH] 100 work count --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 14b68df..7e7e176 100644 --- a/src/main.rs +++ b/src/main.rs @@ -48,7 +48,7 @@ fn main() -> anyhow::Result<()> { }; let device = Device::new(device_id); - let worker_count: cl_int = size as cl_int; + let worker_count: cl_int = 100 as cl_int; println!("设备最大队列长度: {} real count: {}", size, worker_count); // Create a Context on an OpenCL device