When I tried to implement cuda bilinear interpolation with c++, I found the weird result of tex2D.

If alpha multiply beta less than 0.00390625, then the weird value appear.

Does any know what’s going on?

You can find detail on stackoverflow with same title.

http://stackoverflow.com/questions/21128731/weird-result-of-cuda-tex2d-with-bilinear-interpolation

I find the answer to explain this behavior, and update it at the stackoverflow.