You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement HLSL Diagnostics for LinAlg operations (microsoft#7430)
This PR implements checks to validate the linalg builtin functions:
__builtin_MatVecMul, __builtin_MatVecMulAdd,
__builtin_OuterProductAccumulate and __builtin_VectorAccumulate. This
includes:
- verify valid types for input and output vectors
- const checks for compile-time const parameters
- value checks for interpretation and layout (enum) parameters
- min/max checks for matrix dimensions
- verify input-output vector are the right dimensions for the given
matrix (dimM and dimK) : packed and unpacked cases
- verify matrix layout, transpose and stride rules
- incorrect shader model warning
Adds tests for all the above error checks.
Implements
microsoft#7336
0 commit comments