怎么不能跑呢.png
This commit is contained in:
parent
5a2c42ee5f
commit
57b6dc0a53
@ -196,6 +196,8 @@ fn main() -> anyhow::Result<()> {
|
||||
.set_global_work_size(worker_count as usize)
|
||||
.enqueue_nd_range(&queue)?
|
||||
};
|
||||
|
||||
println!("等待kernel执行完成");
|
||||
let start_tick = std::time::Instant::now();
|
||||
kernel_event.wait()?;
|
||||
let end_tick = std::time::Instant::now();
|
||||
|
Loading…
Reference in New Issue
Block a user