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 Sep 24, 2024
1 parent bb5f819 commit 70392f1
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 70392f1

Please sign in to comment.