I got a struct living on the CUDA device which contains a pointer to an array. Computations, accessing the elements and everything works fine but when I try to be a good boy and