Skip to content

Commit b978da3

Browse files
author
Aman Gupta
committed
mmq: add assert for size
1 parent 90ff460 commit b978da3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/src/ggml-cuda/mmq.cuh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ struct block_fp4_mmq {
5252

5353
static_assert(sizeof(block_q8_1_mmq) == 4*QK8_1 + 4*sizeof(half2), "Unexpected block_q8_1_mmq size");
5454
static_assert(sizeof(block_q8_1_mmq) == 4*sizeof(block_q8_1), "Unexpected block_q8_1_mmq size");
55+
static_assert(sizeof(block_fp4_mmq) == 72, "Unexpected block_fp4_mmq size");
5556

5657
static mmq_q8_1_ds_layout mmq_get_q8_1_ds_layout(const ggml_type type_x) {
5758
switch (type_x) {

0 commit comments

Comments
 (0)