I got a problem in this line:
static texture<float, 2, cudaReadModeElementType> TexSrc;
As I searched in this forum, the header files are added:
But still “texture is not a template”. And in the project, “tex2D is undefined”…
Thank you in advance for your help!