"typedef texture<...>' error


I just upgraded to the CUDA SDK 4.0 and now I’m getting

on the following line

#include <cuda.h>


typedef texture<uint32_t, 1, cudaReadModeElementType> texdim1;

Seems that texture is not detected anymore. Anyhow, this used to compile… Any clue?

Kind Regards

Never mind, I put this code in a .cpp file, so my IDE tried to compile it using g++… I should work less :rolleyes: