@@ -20,20 +20,20 @@ void main(uint ID : SV_GroupID) {
2020 vector <half , 8 > vec1 = 10.3f ;
2121
2222// CHECK: %[[VEC2:.*]] = call <8 x half> @dx.op.linAlgMatVecMul.v8f16.mC8M8N8U0S0.v8f16(i32 -2147483623,
23- // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %3, <8 x half> <half 0xH4926, half 0xH4926, half 0xH4926,
23+ // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %3, i1 true, <8 x half> <half 0xH4926, half 0xH4926, half 0xH4926,
2424// CHECK-SAME: half 0xH4926, half 0xH4926, half 0xH4926, half 0xH4926, half 0xH4926>, i32 8)
25- // CHECK-SAME: ; LinAlgMatVecMul(matrix,inputVector,interpretation)
25+ // CHECK-SAME: ; LinAlgMatVecMul(matrix,isOutputSigned, inputVector,interpretation)
2626 vector <half , 8 > vec2 = Multiply<half >(Mat1, vec1);
2727
2828// CHECK: %[[VEC3:.*]] = call <8 x half> @dx.op.linAlgMatVecMulAdd.v8f16.mC8M8N8U0S0.v8f16.v8f16(i32 -2147483622,
29- // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %[[MAT1]], <8 x half> <half 0xH4926, half 0xH4926, half 0xH4926,
29+ // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %[[MAT1]], i1 true, <8 x half> <half 0xH4926, half 0xH4926, half 0xH4926,
3030// CHECK-SAME: half 0xH4926, half 0xH4926, half 0xH4926, half 0xH4926, half 0xH4926>, i32 8, <8 x half> %[[VEC2]], i32 8)
31- // CHECK-SAME: ; LinAlgMatVecMulAdd(matrix,inputVector,inputInterpretation,biasVector,biasInterpretation)
31+ // CHECK-SAME: ; LinAlgMatVecMulAdd(matrix,isOutputSigned, inputVector,inputInterpretation,biasVector,biasInterpretation)
3232 vector <half , 8 > vec3 = MultiplyAdd<half >(Mat1, vec1, vec2);
3333
3434// CHECK: %[[VEC4:.*]] = call <8 x half> @dx.op.linAlgMatVecMulAdd.v8f16.mC8M8N8U0S0.v8f16.v8f16(i32 -2147483622,
35- // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %[[MAT1]], <8 x half> %[[VEC2]], i32 8, <8 x half> %[[VEC3]], i32 8)
36- // CHECK-SAME: ; LinAlgMatVecMulAdd(matrix,inputVector,inputInterpretation,biasVector,biasInterpretation)
35+ // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %[[MAT1]], i1 true, <8 x half> %[[VEC2]], i32 8, <8 x half> %[[VEC3]], i32 8)
36+ // CHECK-SAME: ; LinAlgMatVecMulAdd(matrix,isOutputSigned, inputVector,inputInterpretation,biasVector,biasInterpretation)
3737 InterpretedVector<half , 8 , ComponentType::F16> interpVec2 = MakeInterpretedVector<ComponentType::F16>(vec2);
3838 vector <half , 8 > vec4 = MultiplyAdd<half >(Mat1, interpVec2, vec3);
3939
@@ -43,8 +43,8 @@ void main(uint ID : SV_GroupID) {
4343 // CHECK: %[[VEC_BIAS:.*]] = extractvalue %dx.types.ResRet.v8i16 %[[RAWLOAD]], 0
4444
4545 // CHECK: %[[VEC5:.*]] = call <8 x half> @dx.op.linAlgMatVecMulAdd.v8f16.mC8M8N8U0S0.v8f16.v8i16(i32 -2147483622,
46- // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %[[MAT1]], <8 x half> %[[VEC3]], i32 8, <8 x i16> %[[VEC_BIAS]], i32 2)
47- // CHECK-SAME:; LinAlgMatVecMulAdd(matrix,inputVector,inputInterpretation,biasVector,biasInterpretation)
46+ // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %[[MAT1]], i1 true, <8 x half> %[[VEC3]], i32 8, <8 x i16> %[[VEC_BIAS]], i32 2)
47+ // CHECK-SAME:; LinAlgMatVecMulAdd(matrix,isOutputSigned, inputVector,inputInterpretation,biasVector,biasInterpretation)
4848 VectorRef<ComponentType::I16, 8 > memBias = {BAB, 4096 };
4949 vector <half , 8 > vec5 = MultiplyAdd<half >(Mat1, vec3, memBias);
5050
@@ -55,8 +55,8 @@ void main(uint ID : SV_GroupID) {
5555 // CHECK: %[[VEC_BIAS:.*]] = extractvalue %dx.types.ResRet.v8i16 %[[RAWLOAD]], 0
5656
5757 // CHECK: %[[VEC6:.*]] = call <8 x half> @dx.op.linAlgMatVecMulAdd.v8f16.mC8M8N8U0S0.v8f16.v8i16(i32 -2147483622,
58- // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %[[MAT1]], <8 x half> %[[VEC2]], i32 8, <8 x i16> %[[VEC_BIAS]], i32 2)
59- // CHECK-SAME: ; LinAlgMatVecMulAdd(matrix,inputVector,inputInterpretation,biasVector,biasInterpretation)
58+ // CHECK-SAME: %dx.types.LinAlgMatrixC8M8N8U0S0 %[[MAT1]], i1 true, <8 x half> %[[VEC2]], i32 8, <8 x i16> %[[VEC_BIAS]], i32 2)
59+ // CHECK-SAME: ; LinAlgMatVecMulAdd(matrix,isOutputSigned, inputVector,inputInterpretation,biasVector,biasInterpretation)
6060 vector <half , 8 > vec6 = MultiplyAdd<half >(Mat1, interpVec2, memBias);
6161
6262 // CHECK: %[[ACCUM:.*]] = call %dx.types.LinAlgMatrixC8M8N8U2S0
0 commit comments