MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / log

Method log

src/thundersvm/syncarray.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58template<typename T>
59void SyncArray<T>::log(el::base::type::ostream_t &ostream) const {
60 int i;
61 ostream << "[";
62 for (i = 0; i < size() - 1 && i < el::base::consts::kMaxLogPerContainer - 1; ++i) {
63 ostream << host_data()[i] << ",";
64 }
65 ostream << host_data()[i];
66 ostream << "]";
67}
68
69template<typename T>
70void SyncArray<T>::copy_from(const SyncArray<T> &source) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected