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
I am enrolled in the Algorithmic Techniques class through a partner university to UIUC and am currently working through MP3 Basic Matrix Multiplication. When running dataset 1, I get the following error message: The solution did not match the expected results at column 0 and row 0. Expecting 312.04 but got 316.53.
I have tried calculating the result at column 0 and row 0 using serial C code and I get the same answer (316.53). Is it possible that the WebGPU platform does not have the correct answer? My code for serially calculating the output at (0, 0) is below.
float origin = 0;
for(int i = 0; i < numAColumns; i++)
{
origin += hostA[i] * hostB[i * numBRows];
}
A is the first vector and B is the second (Sorry for not formatting this too well; I haven't submitted an issue before).
Thanks
`
The text was updated successfully, but these errors were encountered:
Hello,
I am enrolled in the Algorithmic Techniques class through a partner university to UIUC and am currently working through MP3 Basic Matrix Multiplication. When running dataset 1, I get the following error message: The solution did not match the expected results at column 0 and row 0. Expecting 312.04 but got 316.53.
I have tried calculating the result at column 0 and row 0 using serial C code and I get the same answer (316.53). Is it possible that the WebGPU platform does not have the correct answer? My code for serially calculating the output at (0, 0) is below.
float origin = 0;
for(int i = 0; i < numAColumns; i++)
{
origin += hostA[i] * hostB[i * numBRows];
}
A is the first vector and B is the second (Sorry for not formatting this too well; I haven't submitted an issue before).
Thanks
`
The text was updated successfully, but these errors were encountered: