Skip to content

Commit

Permalink
Added a temporary comment about about the MPI v7 requirement for MPI_…
Browse files Browse the repository at this point in the history
…Iallreduce call on Windows. This comment will be removed in a few weeks.
  • Loading branch information
amitaga committed Jan 18, 2016
1 parent e37fede commit 3d87c90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/SGDLib/SimpleDistGradAggregator.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ namespace Microsoft { namespace MSR { namespace CNTK {
reductionBuffer = m_intermediateCPUBuffers[i].get();
}

// On Windows this async MPI_Iallreduce call requires MS MPI v7 or higher to be installed
MPI_Iallreduce(MPI_IN_PLACE, reductionBuffer, gradients[i]->GetNumElements(), MPIWrapper::GetDataType(reductionBuffer), MPI_SUM, m_mpi->Communicator(), &allReduceRequests[i]) || MpiFail("MPI_Iallreduce");
}

Expand Down

0 comments on commit 3d87c90

Please sign in to comment.