Removing unnessecary nil check

This commit is contained in:
Paul Tsochantaris 2024-01-16 18:09:25 +00:00
parent 158f8c9e21
commit 5137bc0052

View file

@ -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];
}); });