khmerns 0.0.3__cp39-cp39-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- include/ggml-alloc.h +85 -0
- include/ggml-backend.h +373 -0
- include/ggml-blas.h +25 -0
- include/ggml-cann.h +123 -0
- include/ggml-cpp.h +39 -0
- include/ggml-cpu.h +146 -0
- include/ggml-cuda.h +47 -0
- include/ggml-metal.h +61 -0
- include/ggml-opt.h +256 -0
- include/ggml-rpc.h +30 -0
- include/ggml-sycl.h +49 -0
- include/ggml-virtgpu.h +16 -0
- include/ggml-vulkan.h +29 -0
- include/ggml-webgpu.h +19 -0
- include/ggml-zendnn.h +22 -0
- include/ggml.h +2756 -0
- include/gguf.h +202 -0
- khmerns/__init__.py +3 -0
- khmerns/__init__.pyi +16 -0
- khmerns/_core.cp39-win32.pyd +0 -0
- khmerns-0.0.3.dist-info/METADATA +121 -0
- khmerns-0.0.3.dist-info/RECORD +29 -0
- khmerns-0.0.3.dist-info/WHEEL +5 -0
- khmerns-0.0.3.dist-info/licenses/LICENSE +21 -0
- lib/cmake/ggml/ggml-config.cmake +342 -0
- lib/cmake/ggml/ggml-version.cmake +65 -0
- lib/ggml-base.lib +0 -0
- lib/ggml-cpu.lib +0 -0
- lib/ggml.lib +0 -0
include/ggml-zendnn.h
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include "ggml-backend.h"
|
|
4
|
+
#include "ggml.h"
|
|
5
|
+
|
|
6
|
+
#ifdef __cplusplus
|
|
7
|
+
extern "C" {
|
|
8
|
+
#endif
|
|
9
|
+
|
|
10
|
+
// backend API
|
|
11
|
+
GGML_BACKEND_API ggml_backend_t ggml_backend_zendnn_init(void);
|
|
12
|
+
|
|
13
|
+
GGML_BACKEND_API bool ggml_backend_is_zendnn(ggml_backend_t backend);
|
|
14
|
+
|
|
15
|
+
// number of threads used for zendnn operations
|
|
16
|
+
GGML_BACKEND_API void ggml_backend_zendnn_set_n_threads(ggml_backend_t backend_zendnn, int n_threads);
|
|
17
|
+
|
|
18
|
+
GGML_BACKEND_API ggml_backend_reg_t ggml_backend_zendnn_reg(void);
|
|
19
|
+
|
|
20
|
+
#ifdef __cplusplus
|
|
21
|
+
}
|
|
22
|
+
#endif
|