Skip to content

Commit

Permalink
Fix q4_k opencl struct order
Browse files Browse the repository at this point in the history
  • Loading branch information
0cc4m committed Jun 13, 2023
1 parent 1506aff commit a4ee2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ggml-opencl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4ee2b8

Please sign in to comment.