Error Building Program Ptx assembly aborted due to errors

Hi All,

I need to build the OpenCL program required for my project. I have Nvidia GPU Device GeForce GTX 295 and ubuntu 10.4 OS.

My kernel code failed to compile and i am getting following bugs at run time…

Error Building Program
BLANK???ptxas application ptx input, line 907; error : State space mismatch between instruction and address in instruction ‘ld’
ptxas application ptx input, line 1048; error : State space mismatch between instruction and address in instruction ‘ld’
ptxas application ptx input, line 2754; error : State space mismatch between instruction and address in instruction ‘ld’
ptxas application ptx input, line 2851; error : State space mismatch between instruction and address in instruction ‘ld’
ptxas fatal : Ptx assembly aborted due to errors
: 543

I am not getting what causes these bugs !!!

Please fix it and explain what is cause of getting these bugs ??

Thanks in Advance !!!