what about this
This commit is contained in:
parent
c21484b567
commit
1bb68c7753
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user