From 74e87b4881d685fb30bb2530a0e3c6288882ae16 Mon Sep 17 00:00:00 2001 From: Xiaochun Tong Date: Sat, 7 Oct 2023 00:24:15 -0400 Subject: [PATCH] fix AsKernelArg for Buffer --- luisa_compute/src/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luisa_compute/src/runtime.rs b/luisa_compute/src/runtime.rs index 0914b39..8bdf0ac 100644 --- a/luisa_compute/src/runtime.rs +++ b/luisa_compute/src/runtime.rs @@ -1390,7 +1390,7 @@ impl AsKernelArg for T { } impl AsKernelArg for Buffer { - type Output = T; + type Output = Buffer; } impl<'a, T: Value> AsKernelArg for BufferView<'a, T> {