Switch to a dynamic dispatch table instead of linking hard against libvulkan.
This commit is contained in:
parent
e308fb04db
commit
5b2d8236a7
7 changed files with 23 additions and 17 deletions
|
@ -40,6 +40,7 @@ std::vector<ggml_vk_device> ggml_vk_available_devices(size_t memoryRequired);
|
|||
bool ggml_vk_init_device(size_t memoryRequired, const std::string &device);
|
||||
bool ggml_vk_init_device(const ggml_vk_device &device);
|
||||
bool ggml_vk_init_device(int device);
|
||||
bool ggml_vk_has_vulkan();
|
||||
bool ggml_vk_has_device();
|
||||
ggml_vk_device ggml_vk_current_device();
|
||||
struct ggml_kompute_context * ggml_vk_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue