OMEGA_BW_QMD_MAX_SHARED_BYTES is 32 KiB (#559). QMD word 36 is built once as 0x04b44808: SHARED_MEMORY_SIZE_SHIFTED7 bits 10:0, MIN_SM_CONFIG_SHARED_MEM_SIZE 9 (32 KB), MAX 26 (100 KB), TARGET 9 (32 KB) (clcec0qmd.h:252-255; mesa: hw value = size_kb/4 + 1, SM >= 120 carve-outs 0/8/16/32/64/100 KB, 99 KB max per block).
A kernel asking for more than 32 KiB of shared memory would need MIN/TARGET chosen per size (64 or 100 KB carve-out) instead of the fixed 32 KB. Needed when a GEMV or attention tile wants a bigger shared stage (k > 8192 bf16 row cache, wider prefill tiles). Do it with a chip test at 33 KiB and 64 KiB plus a negative control at 100 KiB + 1.