| 683 | return reg->iface.get_device_count(reg); |
| 684 | } |
| 685 | |
| 686 | ggml_backend_dev_t ggml_backend_reg_dev_get(ggml_backend_reg_t reg, size_t index) { |
| 687 | GGML_ASSERT(reg); |
| 688 | return reg->iface.get_device(reg, index); |
| 689 | } |
| 690 | |
| 691 | void * ggml_backend_reg_get_proc_address(ggml_backend_reg_t reg, const char * name) { |
| 692 | GGML_ASSERT(reg); |
| 693 | if (!reg->iface.get_proc_address) { |
| 694 | return NULL; |
nothing calls this directly
no test coverage detected