Invalid texture reference

I write a CUDA program in a computer with GTX285, everything is okay. when moved to another computer with GTX9800, i only suffer the error “invalid texture reference”. both CUDA version are v2.2.

thank you in advance for your reply

Are you compiling for sm_13 on the 9800?

no, just sm_12