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

Function ggml_cpu_has_avx

ggml.c:20408–20414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20406////////////////////////////////////////////////////////////////////////////////
20407
20408int ggml_cpu_has_avx(void) {
20409#if defined(__AVX__)
20410 return 1;
20411#else
20412 return 0;
20413#endif
20414}
20415
20416int ggml_cpu_has_avx2(void) {
20417#if defined(__AVX2__)

Callers 2

llama_print_system_infoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected