HPCE / hpce-2017-cw5

1 stars 6 forks source link

Gaussian Blur calculation #2

Closed pufik1337 closed 6 years ago

pufik1337 commented 6 years ago

It seems that the reference execute function of the gaussian blur puzzle only takes into account the first column of the input image:

acc += contrib * pInput->pixels[yIn*pInput->width];

Consequently, the output image should be a blurred repetition of the first column - am I missing something here?

m8pple commented 6 years ago

No, that's a regression on my part - I noticed it and fixed it a couple of days ago, but when I transferred it into the new repo must have grabbed the old version, or not copied it over.

Thanks for spotting that, it wasn't intended to be an optimisation opportunity or anything.