We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 757d59d commit 19ea49fCopy full SHA for 19ea49f
1 file changed
tools/clang/unittests/HLSLExec/ExecutionTest.cpp
@@ -13095,7 +13095,8 @@ void main(uint threadIdx : SV_GroupThreadID)
13095
for (int ThreadIdx = 0; ThreadIdx < Config.NumThreads; ++ThreadIdx) {
13096
for (int M = 0; M < Config.DimM; ++M) {
13097
for (int N = 0; N < Config.DimN; ++N) {
13098
- float Acc = InputVector1FP32[M] * InputVector2FP32[N];
+ float Acc = InputVector1FP32[ThreadIdx * Config.DimM + M] *
13099
+ InputVector2FP32[ThreadIdx * Config.DimN + N];
13100
ExpectedOutputBuffer[M * Config.DimN + N] += Acc;
13101
}
13102
0 commit comments