ggml : add AVX512DQ requirement for AVX512 builds (llama/9622)

This commit is contained in:
Eric Zhang 2024-09-24 16:03:21 +08:00 committed by Georgi Gerganov
parent 3b183cfae7
commit 234f9bd320

View File

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