For example,
texture<float, 2, cudaReadModeElementType> g_dataTex[16];
But, when I use array (notation of ), I recieved error from linker that is LNK2019 linker cannot found a function named “__cxa_vec_ctor” (Sorry, my error message is Japanese. )
I use VC++2005.
Please tell me, How to use of array of texture in CUDA.
Thanks.
In another thread, using a bigger 2D array to contain all the texture information was suggested. In case you have problems with the 3D approach, though it seems better, here’s the info: