Returns the number of devices of the platform type which are visible. Not all of these devices may be usable by XLA.
| 100 | // Returns the number of devices of the platform type which are visible. Not |
| 101 | // all of these devices may be usable by XLA. |
| 102 | int device_count() const { return stream_executors_.size(); } |
| 103 | |
| 104 | // Returns the device ordinal number of the default device. |
| 105 | int default_device_ordinal() const; |
no test coverage detected