threadpool: move typedef into ggml.h
This commit is contained in:
parent
c4452edfea
commit
31541d7427
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,6 @@ extern "C" {
|
|||
typedef struct ggml_backend_buffer_type * ggml_backend_buffer_type_t;
|
||||
typedef struct ggml_backend_buffer * ggml_backend_buffer_t;
|
||||
typedef struct ggml_backend * ggml_backend_t;
|
||||
typedef struct ggml_compute_threadpool * ggml_compute_threadpool_t;
|
||||
|
||||
// Tensor allocator
|
||||
struct ggml_tallocr {
|
||||
|
|
|
@ -639,6 +639,8 @@ extern "C" {
|
|||
|
||||
struct ggml_compute_threadpool; // forward declaration, see ggml.c
|
||||
|
||||
typedef struct ggml_compute_threadpool * ggml_compute_threadpool_t;
|
||||
|
||||
// the compute plan that needs to be prepared for ggml_graph_compute()
|
||||
// since https://github.com/ggerganov/ggml/issues/287
|
||||
struct ggml_cplan {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue