| 92 | } |
| 93 | |
| 94 | void XlaTensor::ResetDefinitionEvent(std::shared_ptr<se::Event> event, |
| 95 | se::Stream* stream) { |
| 96 | mutex_lock lock(mu_); |
| 97 | definition_event_ = std::move(event); |
| 98 | streams_defined_on_ = {stream}; |
| 99 | } |
| 100 | |
| 101 | Status XlaTensor::RefreshStatusOfStreams() { |
| 102 | mutex_lock lock(mu_); |
no outgoing calls
no test coverage detected