We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b84891a commit 2b3c77dCopy full SHA for 2b3c77d
ggml-metal.m
@@ -687,6 +687,7 @@ static bool ggml_metal_graph_compute(
687
struct ggml_metal_context * ctx,
688
struct ggml_cgraph * gf) {
689
690
+ @autoreleasepool {
691
MTLComputePassDescriptor * edesc = MTLComputePassDescriptor.computePassDescriptor;
692
edesc.dispatchType = MTLDispatchTypeSerial;
693
@@ -2272,6 +2273,7 @@ static bool ggml_metal_graph_compute(
2272
2273
[[MTLCaptureManager sharedCaptureManager] stopCapture];
2274
}
2275
2276
+ }
2277
return true;
2278
2279
0 commit comments