From 57b6dc0a534dade01e347338bb2fde34583f5221 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Wed, 16 Oct 2024 22:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=8E=E4=B9=88=E4=B8=8D=E8=83=BD=E8=B7=91?= =?UTF-8?q?=E5=91=A2.png?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index b8605aa..538325c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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();