Skip to content

Commit 7a23824

Browse files
committed
metal : improve naming
ggml-ci
1 parent bef9295 commit 7a23824

File tree

5 files changed

+596
-611
lines changed

5 files changed

+596
-611
lines changed

ggml/src/ggml-metal/ggml-metal-context.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,6 @@ void ggml_metal_set_abort_callback (ggml_metal_t ctx, ggml_abort_callback abort
2828
bool ggml_metal_supports_family (ggml_metal_t ctx, int family);
2929
void ggml_metal_capture_next_compute(ggml_metal_t ctx);
3030

31-
//
32-
// graph encoder
33-
//
34-
35-
typedef struct ggml_metal_graph_encoder * ggml_metal_graph_encoder_t;
36-
37-
ggml_metal_library_t ggml_metal_graph_encoder_get_lib(ggml_metal_graph_encoder_t ctx);
38-
ggml_metal_encoder_t ggml_metal_graph_encoder_get_enc(ggml_metal_graph_encoder_t ctx);
39-
struct ggml_cgraph * ggml_metal_graph_encoder_get_gf (ggml_metal_graph_encoder_t ctx);
40-
41-
const struct ggml_metal_device_props * ggml_metal_graph_encoder_get_props_dev(ggml_metal_graph_encoder_t ctx);
42-
43-
int ggml_metal_graph_encoder_get_idx_start(ggml_metal_graph_encoder_t ctx);
44-
int ggml_metal_graph_encoder_get_idx_end (ggml_metal_graph_encoder_t ctx);
45-
46-
bool ggml_metal_graph_encoder_get_use_fusion(ggml_metal_graph_encoder_t ctx);
47-
48-
int ggml_metal_graph_encoder_get_debug_fusion(ggml_metal_graph_encoder_t ctx);
49-
int ggml_metal_graph_encoder_get_debug_graph (ggml_metal_graph_encoder_t ctx);
50-
51-
bool ggml_metal_graph_encoder_concurrency_reset(ggml_metal_graph_encoder_t ctx);
52-
bool ggml_metal_graph_encoder_concurrency_check(ggml_metal_graph_encoder_t ctx, const struct ggml_tensor * node);
53-
bool ggml_metal_graph_encoder_concurrency_add (ggml_metal_graph_encoder_t ctx, const struct ggml_tensor * node);
54-
5531
#ifdef __cplusplus
5632
}
5733
#endif

0 commit comments

Comments
 (0)