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" {
1414// 
1515// backend API 
1616// 
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 );
1919
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 );
2222
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 );
2424
2525#ifdef   __cplusplus 
2626}
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ struct ggml_backend_registry {
151151        register_backend (ggml_backend_vk_reg ());
152152#endif 
153153#ifdef  GGML_USE_OPENCL
154-         register_backend (ggml_backend_opencl2_reg ());
154+         register_backend (ggml_backend_opencl_reg ());
155155#endif 
156156#ifdef  GGML_USE_CANN
157157        register_backend (ggml_backend_cann_reg ());
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments