metal : free allocations
This commit is contained in:
parent
05f808cc83
commit
fef1dbf2eb
1 changed files with 3 additions and 0 deletions
|
@ -309,6 +309,9 @@ struct ggml_metal_context * ggml_metal_init(int n_cb) {
|
|||
//[options setFastMathEnabled:false];
|
||||
|
||||
ctx->library = [ctx->device newLibraryWithSource:src options:options error:&error];
|
||||
|
||||
[options release];
|
||||
[prep release];
|
||||
}
|
||||
|
||||
if (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue