Fixed printing of cuda_device_type