Skip to content

Commit

Permalink
fix metal build
Browse files Browse the repository at this point in the history
  • Loading branch information
LLukas22 authored and AmineDiro committed Aug 15, 2023
1 parent 5c715c6 commit 4aa36f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ggml/src/accelerator/metal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl MetalContext {
unsafe {
metal::ggml_metal_graph_compute(
self.ptr.as_ptr(),
&mut graph.inner as *mut ggml_sys::ggml_cgraph as *mut metal::ggml_cgraph,
graph.inner as *mut ggml_sys::ggml_cgraph as *mut metal::ggml_cgraph,
);
}
}
Expand Down

0 comments on commit 4aa36f3

Please sign in to comment.