Update ggml-metal.m
This commit is contained in:
parent
339d3477bf
commit
7930818a0c
1 changed files with 2 additions and 3 deletions
|
@ -134,7 +134,6 @@ struct ggml_metal_context * ggml_metal_init(int n_cb) {
|
|||
struct ggml_metal_context * ctx = malloc(sizeof(struct ggml_metal_context));
|
||||
ctx->device = device;
|
||||
ctx->n_cb = MIN(n_cb, GGML_METAL_MAX_BUFFERS);
|
||||
ctx->device = MTLCreateSystemDefaultDevice();
|
||||
ctx->queue = [ctx->device newCommandQueue];
|
||||
ctx->n_buffers = 0;
|
||||
ctx->concur_list_len = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue