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

Function StringToNcclUniqueId

tensorflow/core/nccl/nccl_manager.cc:133–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void StringToNcclUniqueId(const string& str_id, ncclUniqueId* nccl_id) {
134 if (str_id.size() == NCCL_UNIQUE_ID_BYTES) {
135 memcpy(nccl_id->internal, str_id.data(), NCCL_UNIQUE_ID_BYTES);
136 }
137}
138
139} // namespace
140

Callers 1

GetCommunicatorMethod · 0.70

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected