mmq: add assert for size

This commit is contained in:
Aman Gupta 2025-12-11 08:43:07 +01:00
parent b7deb96d7c
commit 928cc5594f
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ struct block_fp4_mmq {
static_assert(sizeof(block_q8_1_mmq) == 4*QK8_1 + 4*sizeof(half2), "Unexpected block_q8_1_mmq size");
static_assert(sizeof(block_q8_1_mmq) == 4*sizeof(block_q8_1), "Unexpected block_q8_1_mmq size");
static_assert(sizeof(block_fp4_mmq) == 72, "Unexpected block_fp4_mmq size");
static mmq_q8_1_ds_layout mmq_get_q8_1_ds_layout(const ggml_type type_x) {
switch (type_x) {