From f84c54fe232b9e8ce6cd88f492d705783d61d3ce Mon Sep 17 00:00:00 2001 From: 0cc4m Date: Thu, 18 Jan 2024 19:34:56 +0100 Subject: [PATCH] Fix warning about empty C function parameters --- ggml-vulkan.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ggml-vulkan.h b/ggml-vulkan.h index 9e516c226..6ae010f8b 100644 --- a/ggml-vulkan.h +++ b/ggml-vulkan.h @@ -35,13 +35,11 @@ GGML_API void ggml_vk_cleanup(void); GGML_API bool ggml_vk_can_mul_mat(const struct ggml_tensor * src0, const struct ggml_tensor * src1, const struct ggml_tensor * dst); // backend API -GGML_API GGML_CALL ggml_backend_t ggml_backend_vk_init(); +GGML_API GGML_CALL ggml_backend_t ggml_backend_vk_init(void); GGML_API GGML_CALL bool ggml_backend_is_vk(ggml_backend_t backend); -GGML_API GGML_CALL ggml_backend_buffer_type_t ggml_backend_vk_buffer_type(); -// split tensor buffer that splits matrices by rows across multiple devices -GGML_API GGML_CALL ggml_backend_buffer_type_t ggml_backend_vk_split_buffer_type(const float * tensor_split); +GGML_API GGML_CALL ggml_backend_buffer_type_t ggml_backend_vk_buffer_type(void); // pinned host buffer for use with the CPU backend for faster copies between CPU and GPU GGML_API GGML_CALL ggml_backend_buffer_type_t ggml_backend_vk_host_buffer_type(void);