diff options
author | Kawrakow <iwankawrakow@gmail.com> | 2025-02-21 15:33:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 15:33:25 +0200 |
commit | b9a6639ac3bc77c64bba679cb85b14de0c4a9c9d (patch) | |
tree | 8b6f0a4d8fd9797ba2f5184969b0f873af509b38 /ggml/src/iqk/iqk_quantize.cpp | |
parent | 4b45b82e67d9362e7522e5c7107e9d99219e0432 (diff) |
Hopefully this really fixes the confusion between AVX512 and FANCY_SIMD (#216)
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'ggml/src/iqk/iqk_quantize.cpp')
-rw-r--r-- | ggml/src/iqk/iqk_quantize.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ggml/src/iqk/iqk_quantize.cpp b/ggml/src/iqk/iqk_quantize.cpp index 7b777a1f..b61ae2db 100644 --- a/ggml/src/iqk/iqk_quantize.cpp +++ b/ggml/src/iqk/iqk_quantize.cpp @@ -12,6 +12,7 @@ #define GGML_COMMON_IMPL_C #include "ggml-common.h" #include "iqk_quantize.h" +#include "iqk_config.h" #include <vector> #include <utility> @@ -43,15 +44,6 @@ constexpr int popcount(uint32_t x) { return __builtin_popcount(x); } constexpr int popcount(uint64_t x) { return __builtin_popcountll(x); } #endif -#if defined __x86_64__ -#if defined HAVE_FANCY_SIMD - #undef HAVE_FANCY_SIMD -#endif -#if defined(__AVX512F__) && defined(__AVX512VNNI__) && defined(__AVX512VL__) && defined(__AVX512BW__) && defined(__AVX512DQ__) - #define HAVE_FANCY_SIMD -#endif -#endif - namespace { inline int nearest_int(float fval) { |