summaryrefslogtreecommitdiff
path: root/ggml/include
diff options
context:
space:
mode:
Diffstat (limited to 'ggml/include')
-rw-r--r--ggml/include/ggml-vulkan.h2
-rw-r--r--ggml/include/ggml.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/ggml/include/ggml-vulkan.h b/ggml/include/ggml-vulkan.h
index af661c2d..e3e62864 100644
--- a/ggml/include/ggml-vulkan.h
+++ b/ggml/include/ggml-vulkan.h
@@ -10,7 +10,7 @@ extern "C" {
#define GGML_VK_NAME "Vulkan"
#define GGML_VK_MAX_DEVICES 16
-GGML_API void ggml_vk_instance_init(void);
+GGML_API GGML_CALL void ggml_vk_instance_init(void);
// backend API
GGML_API GGML_CALL ggml_backend_t ggml_backend_vk_init(size_t dev_num);
diff --git a/ggml/include/ggml.h b/ggml/include/ggml.h
index 0a14ba57..67551eb2 100644
--- a/ggml/include/ggml.h
+++ b/ggml/include/ggml.h
@@ -628,7 +628,6 @@ extern "C" {
GGML_OP_WIN_UNPART,
GGML_OP_GET_REL_POS,
GGML_OP_ADD_REL_POS,
-
GGML_OP_UNARY,
GGML_OP_MAP_UNARY,
@@ -644,7 +643,6 @@ extern "C" {
GGML_OP_CROSS_ENTROPY_LOSS,
GGML_OP_CROSS_ENTROPY_LOSS_BACK,
-
GGML_OP_COUNT,
};
@@ -1130,6 +1128,7 @@ extern "C" {
struct ggml_context * ctx,
struct ggml_tensor * a);
+
// if a is the same shape as b, and a is not parameter, return a
// otherwise, return a new tensor: repeat(a) to fit in b
GGML_API struct ggml_tensor * ggml_repeat(