| 148 | } |
| 149 | |
| 150 | Status Client::ResetDevice() { |
| 151 | ResetDeviceRequest request; |
| 152 | ResetDeviceResponse response; |
| 153 | |
| 154 | VLOG(1) << "making reset device request"; |
| 155 | VLOG(3) << "ResetDeviceRequest: {" << request.DebugString() << "}"; |
| 156 | Status s = stub_->ResetDevice(&request, &response); |
| 157 | VLOG(1) << "done with request"; |
| 158 | |
| 159 | if (!s.ok()) { |
| 160 | return s; |
| 161 | } |
| 162 | VLOG(3) << "ResetDeviceResponse: {" << response.DebugString() << "}"; |
| 163 | return Status::OK(); |
| 164 | } |
| 165 | |
| 166 | StatusOr<Literal> Client::ExecuteAndTransfer( |
| 167 | const XlaComputation& computation, absl::Span<GlobalData* const> arguments, |
nothing calls this directly
no test coverage detected