File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -840,7 +840,8 @@ bool ExecutionPlanHandle::match(const ExecutionRequest& request) {
840840 bool ranksPerNodeMatch = constraint.nRanksPerNode == request.nRanksPerNode ;
841841 bool collectiveMatch = plan->collective () == request.collective ;
842842 bool inPlaceMatch = plan->isInPlace () == request.isInPlace ();
843- size_t effectiveSize = (request.collective == " allgather" ) ? (request.messageSize * request.worldSize ) : request.messageSize ;
843+ size_t effectiveSize =
844+ (request.collective == " allgather" ) ? (request.messageSize * request.worldSize ) : request.messageSize ;
844845 bool minSizeMatch = effectiveSize >= plan->minMessageSize ();
845846 bool maxSizeMatch = effectiveSize <= plan->maxMessageSize ();
846847
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ MSCCLPP_API_CPP MemoryId ProxyService::addMemory(RegisteredMemory memory) {
6363}
6464
6565MSCCLPP_API_CPP MemoryId ProxyService::nextMemoryId ([[maybe_unused]] uint32_t count) const {
66- if (count == 0 ) {
66+ if (count == 0 ) {
6767 throw Error (" count must be greater than 0" , ErrorCode::InvalidUsage);
68- }
68+ }
6969 MemoryId firstId = memories_.size ();
7070 return firstId;
7171}
You can’t perform that action at this time.
0 commit comments