Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml/blob/master/src/ggml-cpu/spacemit/ime.h # ggml [Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `ggml / src / ggml-cpu / spacemit / ime.h` 21 lines ยท 511 bytes Raw Blame History 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