From a4ee2b89d206cca5bb70f4e1be38e5ada5d617fe Mon Sep 17 00:00:00 2001 From: 0cc4m Date: Mon, 12 Jun 2023 08:13:05 +0200 Subject: [PATCH] Fix q4_k opencl struct order --- ggml-opencl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml-opencl.cpp b/ggml-opencl.cpp index 81173c495..79e63c41f 100644 --- a/ggml-opencl.cpp +++ b/ggml-opencl.cpp @@ -77,10 +77,10 @@ struct __attribute__ ((packed)) block_q3_K struct __attribute__ ((packed)) block_q4_K { - uint8_t scales[12]; - uint8_t qs[128]; half d; half dmin; + uint8_t scales[12]; + uint8_t qs[128]; }; struct __attribute__ ((packed)) block_q6_K