what about this

This commit is contained in:
shenjack 2024-10-16 22:19:39 +08:00
parent c21484b567
commit 1bb68c7753
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -62,7 +62,7 @@ fn main() -> anyhow::Result<()> {
property |= CL_QUEUE_ON_DEVICE;
}
let queue = match CommandQueue::create_default_with_properties(
&context, property, 10, // 写死试试, 看起来没问题
&context, property, worker_count as u32, // 写死试试, 看起来没问题
) {
Ok(q) => q,
Err(err) => {