mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-08-14 20:29:41 -04:00
metal : remove unnecessary nil check (#4986)
This commit is contained in:
committed by
GitHub
parent
f46c0c1b0e
commit
7563293665
@@ -2236,10 +2236,7 @@ static bool ggml_metal_graph_compute(
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (encoder != nil) {
|
[encoder endEncoding];
|
||||||
[encoder endEncoding];
|
|
||||||
encoder = nil;
|
|
||||||
}
|
|
||||||
|
|
||||||
[command_buffer commit];
|
[command_buffer commit];
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user