I’m building a library that makes use of various textures to bind pitched device memory. To test the library using valgrind, etc. i wanted to build everything in emulation mode. When doing this (with cmake 2.8 and its included FindCUDA) i get a lot of messages like
/tmp/tmpxft_000001dd_00000000-1_fl_cuhuberl1.cudafe1.stub.c:51: error: â€˜__cuda_emu::__texture_flâ€™ has not been declared
In release mode everything works just fine.