MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / set_backend_threads

Function set_backend_threads

src/framework/core/backend.cpp:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void set_backend_threads(ggml_backend_t backend, int threads) {
155 if (ggml_backend_is_cpu(backend)) {
156 ggml_backend_cpu_set_n_threads(backend, threads);
157 }
158}
159
160bool is_host_backend(ggml_backend_t backend) {
161 if (backend == nullptr) {

Callers 15

runMethod · 0.85
computeMethod · 0.85
ExecutionContextMethod · 0.85
runMethod · 0.85
ForwardGraphClass · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85
encode_patchMethod · 0.85
runMethod · 0.85
decode_featuresMethod · 0.85
encode_audioMethod · 0.85

Calls 2

ggml_backend_is_cpuFunction · 0.85

Tested by

no test coverage detected