100 work count

This commit is contained in:
shenjack 2024-10-16 22:18:09 +08:00
parent 7059eb5a9f
commit c21484b567
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -48,7 +48,7 @@ fn main() -> anyhow::Result<()> {
}; };
let device = Device::new(device_id); 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); println!("设备最大队列长度: {} real count: {}", size, worker_count);
// Create a Context on an OpenCL device // Create a Context on an OpenCL device