MCPcopy Create free account
hub / github.com/BVLC/caffe / Broadcast

Method Broadcast

src/caffe/parallel.cpp:189–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188template<typename Dtype>
189void NCCL<Dtype>::Broadcast() {
190 if (barrier_) { // NULL in multi process case
191 barrier_->wait();
192 }
193 NCCL_CHECK(ncclBcast(data_, static_cast<int>(size_),
194 nccl::dataType<Dtype>::type, 0,
195 comm_, cudaStreamDefault));
196 if (barrier_) {
197 barrier_->wait();
198 }
199}
200
201template<typename Dtype>
202void NCCL<Dtype>::run(int layer) {

Callers 1

InternalThreadEntryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected