metal : relax conditions on fast matrix multiplication kernel

This commit is contained in:
Georgi Gerganov 2023-09-14 16:14:29 +03:00
parent 71ca2fad7d
commit 336afbcb76
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
6 changed files with 154 additions and 58 deletions

View file

@ -77,7 +77,7 @@ int * ggml_metal_get_concur_list(struct ggml_metal_context * ctx);
// same as ggml_graph_compute but uses Metal
// creates gf->n_threads command buffers in parallel
void ggml_metal_graph_compute(struct ggml_metal_context * ctx, struct ggml_cgraph * gf);
void ggml_metal_graph_compute(struct ggml_metal_context * ctx, struct ggml_cgraph * gf, bool concurrent);
#ifdef __cplusplus
}