| 697 | |
| 698 | template <> |
| 699 | void 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 | |
| 708 | void lbann_comm::intertrainer_barrier() const |
| 709 | { |