Home
last modified time | relevance | path

Searched refs:TcpUserCommand (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dtcp_communicator.h39 const std::unordered_map<TcpUserCommand, std::string> kUserCommandToMsgType = {
40 {TcpUserCommand::kPush, "push"},
41 {TcpUserCommand::kPull, "pull"},
42 {TcpUserCommand::kCount, "count"},
43 {TcpUserCommand::kReachThreshold, "countReachThreshold"},
44 {TcpUserCommand::kResetCount, "resetCnt"},
45 {TcpUserCommand::kGetMetadata, "getMetadata"},
46 {TcpUserCommand::kUpdateMetadata, "updateMetadata"},
47 {TcpUserCommand::kCounterEvent, "counterEvent"},
48 {TcpUserCommand::kPullWeight, "pullWeight"},
[all …]
Dtcp_communicator.cc37 TcpUserCommand user_command = static_cast<TcpUserCommand>(meta->user_cmd()); in Start()
Dcommunicator_base.h36 enum class TcpUserCommand { enum
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dinstance_manager.cc32 message_meta->set_user_cmd(static_cast<int32_t>(TcpUserCommand::kNewInstance)); in NewInstanceAsync()
51 message_meta->set_user_cmd(static_cast<int32_t>(TcpUserCommand::kQueryInstance)); in QueryInstanceAsync()
71 message_meta->set_user_cmd(static_cast<int32_t>(TcpUserCommand::kEnableFLS)); in EnableFLSAsync()
91 message_meta->set_user_cmd(static_cast<int32_t>(TcpUserCommand::kDisableFLS)); in DisableFLSAsync()
/third_party/mindspore/mindspore/ccsrc/fl/server/
Ddistributed_count_service.cc111 …unicator_->SendPbRequest(report_count_req, counting_server_rank_, ps::core::TcpUserCommand::kCount, in Count()
151 … ps::core::TcpUserCommand::kReachThreshold, &query_cnt_enough_rsp_msg)) { in CountReachThreshold()
332 …if (!communicator_->SendPbRequest(first_count_event, i, ps::core::TcpUserCommand::kCounterEvent)) { in TriggerFirstCountEvent()
358 … if (!communicator_->SendPbRequest(last_count_event, i, ps::core::TcpUserCommand::kCounterEvent)) { in TriggerLastCountEvent()
Diteration.cc349 …if (!communicator_->SendPbRequest(sync_iter_req, kLeaderServerRank, ps::core::TcpUserCommand::kSyn… in SyncIteration()
401 ps::core::TcpUserCommand::kNotifyLeaderToNextIter)) { in NotifyLeaderMoveToNextIteration()
456 …if (!communicator_->SendPbRequest(prepare_next_iter_req, i, ps::core::TcpUserCommand::kPrepareForN… in BroadcastPrepareForNextIterRequest()
467 …!communicator_->SendPbRequest(prepare_next_iter_req, rank, ps::core::TcpUserCommand::kPrepareForNe… in BroadcastPrepareForNextIterRequest()
511 …if (!communicator_->SendPbRequest(proceed_to_next_iter_req, i, ps::core::TcpUserCommand::kProceedT… in BroadcastMoveToNextIterRequest()
576 … if (!communicator_->SendPbRequest(end_last_iter_req, i, ps::core::TcpUserCommand::kEndLastIter)) { in BroadcastEndLastIterRequest()
Ddistributed_metadata_store.cc103 …if (!communicator_->SendPbRequest(metadata_with_name, stored_rank, ps::core::TcpUserCommand::kUpda… in UpdateMetadata()
140 …if (!communicator_->SendPbRequest(get_metadata_req, stored_rank, ps::core::TcpUserCommand::kGetMet… in GetMetadata()
/third_party/mindspore/mindspore/ccsrc/fl/worker/
Dfl_worker.h70 …bool SendToServer(uint32_t server_rank, const void *data, size_t size, ps::core::TcpUserCommand co…
Dfl_worker.cc98 …SendToServer(uint32_t server_rank, const void *data, size_t size, ps::core::TcpUserCommand command, in SendToServer()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/fl/
Dpush_metrics_kernel.h65 … fbb_->GetSize(), ps::core::TcpUserCommand::kPushMetrics, in Launch()
Dstart_fl_job_kernel.h43 … fbb_->GetSize(), ps::core::TcpUserCommand::kStartFLJob, in Launch()
Dget_model_kernel.h49 … fbb_->GetSize(), ps::core::TcpUserCommand::kGetModel, in Launch()
Dupdate_model_kernel.h55 … fbb_->GetSize(), ps::core::TcpUserCommand::kUpdateModel, in Launch()
Dfused_push_weight_kernel.h80 ps::core::TcpUserCommand::kPushWeight, in Launch()
Dfused_pull_weight_kernel.h80 …0, fbb->GetBufferPointer(), fbb->GetSize(), ps::core::TcpUserCommand::kPullWeight, &pull_weight_rs… in Launch()