PR #11714: Add ToString methods that make it easier to debug DeviceDescription issues.
PR #11714: Add ToString methods that make it easier to debug DeviceDescription issues.

Imported from GitHub PR https://github.com/openxla/xla/pull/11714

Add ToString methods that make it easier to debug DeviceDescription issues.
Copybara import of the project:

--
15d36e3dcde6637f91a28e56658cdde9a81eaae3 by Dimitris Vardoulakis <dvardoulakis@nvidia.com>:

Add ToString methods that make it easier to debug DeviceDescription issues.

Merging this change closes #11714

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/11714 from dimvar:device-info-tostring 15d36e3dcde6637f91a28e56658cdde9a81eaae3
