Add provisions for windows support for BF16 code including CMake provision for enabling AVX512_BF16 (#7258)

This commit is contained in:
Srihari-mcw
2024-05-19 19:18:39 -07:00
committed by GitHub
parent d359f30921
commit 33c8d50acc
5 changed files with 38 additions and 8 deletions

1
ggml.h
View File

@@ -2390,6 +2390,7 @@ extern "C" {
GGML_API int ggml_cpu_has_avx512 (void);
GGML_API int ggml_cpu_has_avx512_vbmi(void);
GGML_API int ggml_cpu_has_avx512_vnni(void);
GGML_API int ggml_cpu_has_avx512_bf16(void);
GGML_API int ggml_cpu_has_fma (void);
GGML_API int ggml_cpu_has_neon (void);
GGML_API int ggml_cpu_has_arm_fma (void);