mirror of
https://github.com/RYDE-WORK/llama.cpp.git
synced 2026-01-19 21:23:26 +08:00
metal : remove unnecessary nil check (#4986)
This commit is contained in:
parent
f46c0c1b0e
commit
7563293665
@ -2236,10 +2236,7 @@ static bool ggml_metal_graph_compute(
|
||||
#endif
|
||||
}
|
||||
|
||||
if (encoder != nil) {
|
||||
[encoder endEncoding];
|
||||
encoder = nil;
|
||||
}
|
||||
[encoder endEncoding];
|
||||
|
||||
[command_buffer commit];
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user