怎么不能跑呢.png

This commit is contained in:
shenjack 2024-10-16 22:23:07 +08:00
parent 5a2c42ee5f
commit 57b6dc0a53
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -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();