MCPcopy Create free account
hub / github.com/catboost/catboost / ExecAsync

Method ExecAsync

library/cpp/par/par_util.cpp:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 SerializeToMem(&FinalMapSerialized, FinalMap);
99 }
100 void ExecAsync(IUserContext* ctx, int hostId, TVector<char>* params, IDCResultNotify* dcNotify, int reqId) const override {
101 CHROMIUM_TRACE_FUNCTION();
102 (void)hostId;
103 TJobDescription mapJob;
104 SerializeFromMem(params, mapJob);
105
106 ctx->Run(&mapJob, new TExecRemoteReduce(dcNotify, reqId, ctx, Op, FinalMapSerialized));
107 }
108 void MergeAsync(TVector<TVector<char>>* src, IDCResultNotify* dcNotify, int reqId) const override {
109 Y_ASSERT(Op == RR_MAPREDUCE);
110 FinalMap->MergeAsync(src, dcNotify, reqId);

Callers 1

LocalExecMethod · 0.45

Calls 2

SerializeFromMemFunction · 0.85
RunMethod · 0.45

Tested by

no test coverage detected