Make it also work, not just compile

This commit is contained in:
Iwan Kawrakow
2025-04-30 11:45:07 +03:00
parent e8dc26d544
commit b05c85e487

View File

@@ -16076,8 +16076,13 @@ struct HelperIQ4nl final : public BaseHelper<step> {
constexpr static int block_size_q = QK8_0;
#else
HelperIQ4nl(const char * data, int stride) : Base(data, stride) {}
#ifdef HAVE_FANCY_SIMD
using block_q8 = block_q8_2;
constexpr static int block_size_q = QK8_2;
#else
using block_q8 = block_q8_0;
constexpr static int block_size_q = QK8_0;
#endif
#endif
// Needed for v * softmax(k * q)