From: Eric Zhang Date: Tue, 24 Sep 2024 08:03:21 +0000 (+0800) Subject: ggml : add AVX512DQ requirement for AVX512 builds (llama/9622) X-Git-Tag: upstream/0.0.1642~341 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f61ca7fa3110f84031cedc1a142ba0d5eef0551d;p=pkg%2Fggml%2Fsources%2Fggml ggml : add AVX512DQ requirement for AVX512 builds (llama/9622) --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6c691a4c..cbc34950 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)