ggml : add AVX512DQ requirement for AVX512 builds (#9622)

This commit is contained in:
Eric Zhang
2024-09-24 16:03:21 +08:00
committed by GitHub
parent bb5f819975
commit 70392f1f81

View File

@@ -1186,6 +1186,7 @@ elseif (CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64" OR CMAKE_GENERATOR_PLATFORM_LW
endif()
if (GGML_AVX512)
list(APPEND ARCH_FLAGS -mavx512f)
list(APPEND ARCH_FLAGS -mavx512dq)
list(APPEND ARCH_FLAGS -mavx512bw)
endif()
if (GGML_AVX512_VBMI)