MCPcopy Create free account
hub / github.com/LBANN/lbann / string>

Method string>

src/comm.cpp:699–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

697
698template <>
699void lbann_comm::broadcast<std::string>(const int root,
700 std::string& str,
701 const El::mpi::Comm& c) const
702{
703 std::vector<char> data(str.begin(), str.end());
704 broadcast(root, data, c);
705 str.assign(data.begin(), data.end());
706}
707
708void lbann_comm::intertrainer_barrier() const
709{

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected