| 223 | } |
| 224 | |
| 225 | void StarWorkerService::RecvTensorHandlerRaw(StarServerTag *tag) { |
| 226 | // LOG(INFO) << "StarWorkerService::RecvTensorHandlerRaw"; |
| 227 | Schedule([this, tag]() { |
| 228 | CallOptions* call_opts = new CallOptions; |
| 229 | |
| 230 | StarCall<RecvTensorRequest, StarTensorResponse> *call = |
| 231 | new StarCall<RecvTensorRequest, StarTensorResponse>(); |
| 232 | |
| 233 | InitStarServerTag(&call->req_, &call->resp_, tag, [call] (const Status& s) {delete call;}); |
| 234 | |
| 235 | worker_->RecvTensorAsync(call_opts, &call->req_, &call->resp_, |
| 236 | [tag, call, call_opts |
| 237 | ](const Status& s) { |
| 238 | delete call_opts; |
| 239 | tag->ProcessDone(s); |
| 240 | }); |
| 241 | }); |
| 242 | } |
| 243 | |
| 244 | void StarWorkerService::FuseRecvTensorHandlerRaw(StarServerTag *tag) { |
| 245 | // LOG(INFO) << "StarWorkerService::FuseRecvTensorHandlerRaw"; |
nothing calls this directly
no test coverage detected