ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / src / ggml-cpu / spacemit / ime.h
| 1 | #pragma once |
| 2 | |
| 3 | #include "ggml-alloc.h" |
| 4 | |
| 5 | #ifdef __cplusplus |
| 6 | extern "C" { |
| 7 | #endif |
| 8 | |
| 9 | ggml_backend_buffer_type_t ggml_backend_cpu_riscv64_spacemit_buffer_type(void); |
| 10 | |
| 11 | void ggml_backend_cpu_riscv64_spacemit_set_numa_thread_affinity(int thread_n); |
| 12 | |
| 13 | void ggml_backend_cpu_riscv64_spacemit_clear_numa_thread_affinity_threaded(int thread_n); |
| 14 | |
| 15 | void * ggml_backend_cpu_riscv64_spacemit_alloc_shared(size_t size, size_t alignment); |
| 16 | |
| 17 | void ggml_backend_cpu_riscv64_spacemit_free_shared(void * ptr); |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | } |
| 21 | #endif |