CUDA surfaces vs textures

Viewed 4125

What is the difference between a surface and texture object in CUDA? When should I use one or the other?

As far as I can tell from the developer documentation, they are exactly the same. Both appear to be CUDA arrays that use special texture memory. The only difference seems to be the API methods that access the memory.

1 Answers
Related