Return a string identifier for the given device, eg: "GPU:3".
| 142 | |
| 143 | // Return a string identifier for the given device, eg: "GPU:3". |
| 144 | string device_name(int device_ordinal) const { |
| 145 | return absl::StrCat(platform_->Name(), ":", device_ordinal); |
| 146 | } |
| 147 | |
| 148 | // Returns true if the devices with the given ordinals are equivalent from |
| 149 | // XLA's perspective. That is, an executable compiled for one device would |
no test coverage detected