From b3505a0cd1200be7a95bcd144e1fad64866cf564 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Tue, 18 Nov 2025 13:08:06 -0600 Subject: [PATCH 1/2] Small update to language to clarify dimension requirements This just removes the comment about being tied to wave size since the hardware sizes do not match wave sizes. --- proposals/0035-linalg-matrix.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proposals/0035-linalg-matrix.md b/proposals/0035-linalg-matrix.md index 10d69215..a334b350 100644 --- a/proposals/0035-linalg-matrix.md +++ b/proposals/0035-linalg-matrix.md @@ -451,9 +451,9 @@ formula: `MxK * KxN = MxN` This restriction impacts the number of rows in an A matrix, and columns in a B matrix, but has no impact on an accumulator matrix. -The minimum and maximum `K` dimension for Wave and Thread scope matrices is tied -to the the minimum and maximum wave size, while the minimum and maximum `K` -dimension for ThreadGroup matrices is tied to the thread group size. +The minimum and maximum `K` dimension for matrices is hardware dependent and +varies by scope. The table below describes the maximums enforced by HLSL and +DXIL validation. | Matrix Scope | Scalar element dimensions | From da81c9e933413a38650a3c597e118aa51f8892cd Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Wed, 19 Nov 2025 09:34:04 -0600 Subject: [PATCH 2/2] Simplify range of valid values --- proposals/0035-linalg-matrix.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proposals/0035-linalg-matrix.md b/proposals/0035-linalg-matrix.md index a334b350..4ed889de 100644 --- a/proposals/0035-linalg-matrix.md +++ b/proposals/0035-linalg-matrix.md @@ -456,11 +456,11 @@ varies by scope. The table below describes the maximums enforced by HLSL and DXIL validation. -| Matrix Scope | Scalar element dimensions | -| ------------ | ----------------------------- | -| Thread | Powers of two between [4,128] | -| Wave | Powers of two between [4,128] | -| ThreadGroup | [1,1024] | +| Matrix Scope | Scalar element dimensions | +| ------------ | ------------------------- | +| Thread | [4,128] | +| Wave | [4,128] | +| ThreadGroup | [1,1024] | Sizes for matrices of packed data types are 4 times the valid size for a scalar element.