Commit 0a93e8e
[HLSL] Add non-square LinAlg CopyConvert coverage (#8620)
Add non-square SM6.10 Linear Algebra CopyConvert execution coverage.
- Adds `CopyConvert_Wave_4x8_F32_Transpose` using independently derived
expected values.
- Parameterizes source and destination dimensions and row strides for
CopyConvert.
- Corrects CPU-reference indexing that was previously masked by
square-only matrices.
- Preserves the existing 16x16 F16 CopyConvert behaviour.
## Validation
- Built `ExecHLSLTests.dll`, `dxcompiler.dll` and `dxc.exe`
successfully.
- The new test passed end-to-end on Microsoft Basic Render Driver using
WARP `1.65535.20-preview` and D3D12 Agility SDK `1.721.2-preview`.
- Both existing 16x16 F16 CopyConvert tests passed on the same runtime.
- Full LinAlg class: 20 total, 19 passed, 0 failed and 1 pre-existing
OuterProduct skip because the released SDK headers do not expose
`DIRECT3D_LINEAR_ALGEBRA`.
- No physical GPU or HLK lab execution is claimed.
## AI assistance and human review
**Human owner:** @JoeCitizen
**Review completed:** 21 July 2026
The human owner reviewed the changed source and validation evidence,
understands the non-square transpose, expected 8x4 matrix, and
source/destination stride changes, and explicitly approved promotion
from draft to maintainer review. The human owner adopts the rationale
above and remains responsible for the contribution.
Substantial AI assistance is disclosed below.
Assisted-by: GitHub Copilot
Refs #8546
Co-authored-by: Jack Elliott <jackell@ntdev.microsoft.com>1 parent 5955df0 commit 0a93e8e
1 file changed
Lines changed: 30 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
| 258 | + | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
343 | 344 | | |
344 | 345 | | |
345 | 346 | | |
| |||
819 | 820 | | |
820 | 821 | | |
821 | 822 | | |
822 | | - | |
| 823 | + | |
823 | 824 | | |
824 | 825 | | |
825 | 826 | | |
826 | | - | |
| 827 | + | |
827 | 828 | | |
828 | 829 | | |
829 | | - | |
| 830 | + | |
830 | 831 | | |
831 | 832 | | |
832 | 833 | | |
| |||
836 | 837 | | |
837 | 838 | | |
838 | 839 | | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
839 | 845 | | |
840 | 846 | | |
841 | 847 | | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
842 | 852 | | |
843 | 853 | | |
844 | 854 | | |
| |||
899 | 909 | | |
900 | 910 | | |
901 | 911 | | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
902 | 927 | | |
903 | 928 | | |
904 | 929 | | |
| |||
0 commit comments