ggml : add AVX512DQ requirement for AVX512 builds

This commit is contained in:
EZForever 2024-09-24 14:28:05 +08:00
parent 0aa15011e3
commit 8dfa9c6c6a
No known key found for this signature in database

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)