fixed inconsistency in printing gpuarray