Bug hunting (removed printCudaArray).