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

Function ggml_cpu_has_blas

ggml.c:20504–20510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20502}
20503
20504int ggml_cpu_has_blas(void) {
20505#if defined(GGML_USE_ACCELERATE) || defined(GGML_USE_OPENBLAS) || defined(GGML_USE_CUBLAS) || defined(GGML_USE_CLBLAST)
20506 return 1;
20507#else
20508 return 0;
20509#endif
20510}
20511
20512int ggml_cpu_has_cublas(void) {
20513#if defined(GGML_USE_CUBLAS)

Callers 4

llama_decode_internalFunction · 0.85
llama_print_system_infoFunction · 0.85
llama-bench.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected