interplane.Get Omega
Read in your language

ggml

[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)

Brought by drakestapleton

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
6extern "C" {
7#endif
8
9ggml_backend_buffer_type_t ggml_backend_cpu_riscv64_spacemit_buffer_type(void);
10
11void ggml_backend_cpu_riscv64_spacemit_set_numa_thread_affinity(int thread_n);
12
13void ggml_backend_cpu_riscv64_spacemit_clear_numa_thread_affinity_threaded(int thread_n);
14
15void * ggml_backend_cpu_riscv64_spacemit_alloc_shared(size_t size, size_t alignment);
16
17void ggml_backend_cpu_riscv64_spacemit_free_shared(void * ptr);
18
19#ifdef __cplusplus
20}
21#endif