Print cuda_device and cuda_host types with [] instead of ()