Spaces:
Running
Running
Diego Devesa
commited on
Commit
·
cf46d5c
1
Parent(s):
60ff3ed
ggml : fix ggml_gallocr_ptr type (ggml/1205)
Browse files- ggml/include/ggml-cpp.h +1 -1
ggml/include/ggml-cpp.h
CHANGED
|
@@ -24,7 +24,7 @@ typedef std::unique_ptr<gguf_context, gguf_context_deleter> gguf_context_ptr;
|
|
| 24 |
|
| 25 |
struct ggml_gallocr_deleter { void operator()(ggml_gallocr_t galloc) { ggml_gallocr_free(galloc); } };
|
| 26 |
|
| 27 |
-
typedef std::unique_ptr<
|
| 28 |
|
| 29 |
// ggml-backend
|
| 30 |
|
|
|
|
| 24 |
|
| 25 |
struct ggml_gallocr_deleter { void operator()(ggml_gallocr_t galloc) { ggml_gallocr_free(galloc); } };
|
| 26 |
|
| 27 |
+
typedef std::unique_ptr<ggml_gallocr, ggml_gallocr_deleter> ggml_gallocr_ptr;
|
| 28 |
|
| 29 |
// ggml-backend
|
| 30 |
|