MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_cpu_has_vsx

Function ggml_cpu_has_vsx

ggml.c:20548–20554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20546}
20547
20548int ggml_cpu_has_vsx(void) {
20549#if defined(__POWER9_VECTOR__)
20550 return 1;
20551#else
20552 return 0;
20553#endif
20554}
20555
20556void ggml_set_backend(struct ggml_tensor * tensor, enum ggml_backend_type backend) {
20557 if (backend == GGML_BACKEND_CPU) {

Callers 2

llama_print_system_infoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected