Skip to content

Commit

Permalink
ggml : add AVX512DQ requirement for AVX512 builds (ggerganov#9622)
Browse files Browse the repository at this point in the history
  • Loading branch information
EZForever authored and arthw committed Nov 18, 2024
1 parent 60f57b5 commit 03b1c2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ggml/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03b1c2b

Please sign in to comment.