Skip to content

Commit

Permalink
fix AsKernelArg for Buffer<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
shiinamiyuki committed Oct 7, 2023
1 parent 2b24bb5 commit 74e87b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luisa_compute/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ impl<T: Value> AsKernelArg for T {
}

impl<T: Value> AsKernelArg for Buffer<T> {
type Output = T;
type Output = Buffer<T>;
}

impl<'a, T: Value> AsKernelArg for BufferView<'a, T> {
Expand Down

0 comments on commit 74e87b4

Please sign in to comment.