Added printing for CUDA device arrays