metal : create backend, mostly reuse CPU backend interface
This commit is contained in:
parent
ed960fa1ab
commit
70c55c17c7
3 changed files with 61 additions and 29 deletions
|
@ -35,7 +35,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
// GG: maybe return ptr and avoid the "ggml.h" include
|
||||
struct ggml_backend ggml_backend_metal_init();
|
||||
struct ggml_backend ggml_backend_metal_init(struct ggml_backend * backend_cpu);
|
||||
|
||||
//struct ggml_metal_context;
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue