Skip to content

Commit 42ef9cc

Browse files
committed
lint
1 parent f89a6f9 commit 42ef9cc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/executor/execution_plan.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

src/port_channel.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ MSCCLPP_API_CPP MemoryId ProxyService::addMemory(RegisteredMemory memory) {
6363
}
6464

6565
MSCCLPP_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
}

0 commit comments

Comments
 (0)