From the spec
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 |
| Thread |
[4,128] |
| Wave |
[4,128] |
| ThreadGroup |
[1, 1024] |
From the spec
The minimum and maximum
Kdimension for matrices is hardware dependent and varies by scope. The table below describes the maximums enforced by HLSL and DXIL validation.