tex1dfetch doesn't work under emu?

cont. …and to use a “int tex_stuff[2000]” for binary search in the kernel isn’t a good idea: the performance is exactly the same with that using global memory. how sad for the indifference:*(
///////////////////////////////
fixed. my foolish: can’t delete the d_stuff after cudaBindTexture(tex, d_stuff)! this bind is not “copy and upload”, it just casts d_stuff to texture!!!
//////////////////////////////
att, under emudebug, it exits with “cannot fetch from a texture that is not bound” at the line of tex1dfetch in the kernel. when i use debug, there’s no error.
how to debug tex? and i recall a tested i did that use cudaArray for 1D is not really cached, so we should use texture for the cache speedup. thanks!