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

Function ggml_cpu_has_avx2

ggml.c:20416–20422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20414}
20415
20416int ggml_cpu_has_avx2(void) {
20417#if defined(__AVX2__)
20418 return 1;
20419#else
20420 return 0;
20421#endif
20422}
20423
20424int ggml_cpu_has_avx512(void) {
20425#if defined(__AVX512F__)

Callers 2

llama_print_system_infoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected