kernel did not work on Release (8400sg)

In emulation mode all kernels in my application work correct. But when i lounch my application in release mode my application returns not changed data.

example if i try to lounch kernel with data[i] = i in emulation i will vector (0,1,2,3,4,5,6…)

but if i try lounch same in release mode the data will not change. I did not get errors in compilation, the kernel is not changing data.
Why?

Are you checking return codes from the CUDA functions?

Are you checking return codes from the CUDA functions?