From d2736a65b51d2162a0a7eae5308d39c5d95bfe9d Mon Sep 17 00:00:00 2001 From: Xiaochun Tong Date: Sun, 22 Oct 2023 00:55:47 -0400 Subject: [PATCH] update submod --- luisa_compute/src/runtime.rs | 3 +-- luisa_compute_sys/LuisaCompute | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/luisa_compute/src/runtime.rs b/luisa_compute/src/runtime.rs index 97c5024..81b59e9 100644 --- a/luisa_compute/src/runtime.rs +++ b/luisa_compute/src/runtime.rs @@ -1258,8 +1258,7 @@ impl RawKernel { let args = Arc::new(args); assert_eq!(args.len(), self.module.args.len()); rt.add(args.clone()); - let mut captures = self.resource_tracker.clone(); - captures.upgrade(); + let captures = self.resource_tracker.upgrade(); rt.merge(captures); Command { inner: api::Command::ShaderDispatch(api::ShaderDispatchCommand { diff --git a/luisa_compute_sys/LuisaCompute b/luisa_compute_sys/LuisaCompute index 0406fe6..5886be5 160000 --- a/luisa_compute_sys/LuisaCompute +++ b/luisa_compute_sys/LuisaCompute @@ -1 +1 @@ -Subproject commit 0406fe6ac0f13688c466ed18bc5742459fb317c9 +Subproject commit 5886be5f5521df3c8c12adff2a1fb614ce6b4c86