global device variables

Hi, I have been trying to declare and use a global array which resides in device memory. Is it possible? I have been having problems with it…

If you will writing data in different memory parts - all OK.