]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
git : remove kompute submodule (#1300) upstream/0.0.2309
authorGeorgi Gerganov <redacted>
Sat, 12 Jul 2025 13:12:49 +0000 (16:12 +0300)
committerGitHub <redacted>
Sat, 12 Jul 2025 13:12:49 +0000 (16:12 +0300)
ggml-ci

.gitmodules
include/ggml-kompute.h [deleted file]

index 03b27cbc01935905b5eedc261150eabf40faa563..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,3 +0,0 @@
-[submodule "kompute"]
-       path = src/ggml-kompute/kompute
-       url = https://github.com/nomic-ai/kompute.git
diff --git a/include/ggml-kompute.h b/include/ggml-kompute.h
deleted file mode 100644 (file)
index 154aa56..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#pragma once
-
-#include "ggml.h"
-#include "ggml-backend.h"
-
-#include <stdbool.h>
-#include <stddef.h>
-#include <stdint.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define GGML_KOMPUTE_MAX_DEVICES 16
-
-struct ggml_vk_device {
-    int index;
-    int type; // same as VkPhysicalDeviceType
-    size_t heapSize;
-    const char * name;
-    const char * vendor;
-    int subgroupSize;
-    uint64_t bufferAlignment;
-    uint64_t maxAlloc;
-};
-
-struct ggml_vk_device * ggml_vk_available_devices(size_t memoryRequired, size_t * count);
-bool ggml_vk_get_device(struct ggml_vk_device * device, size_t memoryRequired, const char * name);
-bool ggml_vk_has_vulkan(void);
-bool ggml_vk_has_device(void);
-struct ggml_vk_device ggml_vk_current_device(void);
-
-//
-// backend API
-//
-
-// forward declaration
-typedef struct ggml_backend * ggml_backend_t;
-
-GGML_BACKEND_API ggml_backend_t ggml_backend_kompute_init(int device);
-
-GGML_BACKEND_API bool ggml_backend_is_kompute(ggml_backend_t backend);
-
-GGML_BACKEND_API ggml_backend_buffer_type_t ggml_backend_kompute_buffer_type(int device);
-
-GGML_BACKEND_API ggml_backend_reg_t ggml_backend_kompute_reg(void);
-
-#ifdef __cplusplus
-}
-#endif