interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

QMD: shared memory above 32 KiB needs per-size MIN/TARGET carve-out fields

Open · #560 · open 2026-10-18 15:51 UTC

Imported from GitHub aien-dev/omega-mv#560, by drakestapleton

drakestapleton wrote on 2026-10-18 15:51 UTC

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.

No comments.

Sign in to comment