File tree Expand file tree Collapse file tree 3 files changed +157
-157
lines changed Expand file tree Collapse file tree 3 files changed +157
-157
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ extern "C" {
14
14
//
15
15
// backend API
16
16
//
17
- GGML_BACKEND_API ggml_backend_t ggml_backend_opencl2_init (void );
18
- GGML_BACKEND_API bool ggml_backend_is_opencl2 (ggml_backend_t backend );
17
+ GGML_BACKEND_API ggml_backend_t ggml_backend_opencl_init (void );
18
+ GGML_BACKEND_API bool ggml_backend_is_opencl (ggml_backend_t backend );
19
19
20
- GGML_BACKEND_API ggml_backend_buffer_type_t ggml_backend_opencl2_buffer_type (void );
21
- GGML_BACKEND_API ggml_backend_buffer_type_t ggml_backend_opencl2_host_buffer_type (void );
20
+ GGML_BACKEND_API ggml_backend_buffer_type_t ggml_backend_opencl_buffer_type (void );
21
+ GGML_BACKEND_API ggml_backend_buffer_type_t ggml_backend_opencl_host_buffer_type (void );
22
22
23
- GGML_BACKEND_API ggml_backend_reg_t ggml_backend_opencl2_reg (void );
23
+ GGML_BACKEND_API ggml_backend_reg_t ggml_backend_opencl_reg (void );
24
24
25
25
#ifdef __cplusplus
26
26
}
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ struct ggml_backend_registry {
151
151
register_backend (ggml_backend_vk_reg ());
152
152
#endif
153
153
#ifdef GGML_USE_OPENCL
154
- register_backend (ggml_backend_opencl2_reg ());
154
+ register_backend (ggml_backend_opencl_reg ());
155
155
#endif
156
156
#ifdef GGML_USE_CANN
157
157
register_backend (ggml_backend_cann_reg ());
You can’t perform that action at this time.
0 commit comments