When I try to use layered textures(tex2DLayered()), I get the following error “Feature ‘array geometry’ requires PTX ISA .version 2.3 or later”.
I use the toolkit 4.0 which is supposed to meet this requirements. I’m even able to compile the simpleLayeredTexture example form the SDK, but when I compile my code with the tex2DLayered() function I get the error.
I couldn’t find a compiler option to select a version nor did i have different versions of the toolkit installed. So I’m totally clueless what could cause this inconvenience.
For compiling I use CMake with the FindCUDA package.
I would appreciate it, if some one could help me with this problem. Thanks.