Some strange phenomenon when using the Image2D objects

Some strange phenomenon when using the Image2D objects

Hello everyone.

When I was using the image2D objects to optimize my application, there was a strange phenomenon happened. 

I have set the width and the height of the image2D buffer and the performance would increase as the height increase while the width decrease.

However, after I modified my opencl code to try another implementation and then restore the code to its status before modification, the performance was slower than before. And the performance would increase as the height decrease while the width increase.

I have checked my code carefully only to find that the codes are perfectly the same. So I don't know what happend.

Could anyone come across the same problem and explain this to me?

Thanks a lot!

2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

Is this behavior reproducible? That is -- can you start with a fresh boot of your system, make some changes, restore to the original, and see a consistent slowdown? Is the performance back to expected levels after a reboot? Anything that could help us reproduce the problem here would be helpful.

Thanks,

Jeff

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!