MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / WaitForExecution

Method WaitForExecution

tensorflow/compiler/xla/service/service.cc:945–958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943}
944
945Status Service::WaitForExecution(const WaitForExecutionRequest* arg,
946 WaitForExecutionResponse* result) {
947 TF_ASSIGN_OR_RETURN(const auto execution,
948 execution_tracker_.Resolve(arg->execution()));
949
950 TF_RETURN_IF_ERROR(execution->BlockUntilDone());
951
952 *result->mutable_output() = execution->result();
953 *result->mutable_profile() = execution->profile();
954
955 TF_RETURN_IF_ERROR(execution_tracker_.Unregister(arg->execution()));
956 VLOG(1) << "successfully completed 'wait-for-execution' request";
957 return Status::OK();
958}
959
960Status Service::TransferToClient(const TransferToClientRequest* arg,
961 TransferToClientResponse* result) {

Callers

nothing calls this directly

Calls 5

profileMethod · 0.80
mutable_outputMethod · 0.60
BlockUntilDoneMethod · 0.45
resultMethod · 0.45
UnregisterMethod · 0.45

Tested by

no test coverage detected