Skip to content

Commit

Permalink
Merge branch 'binyli/barrier' of https://github.com/microsoft/mscclpp
Browse files Browse the repository at this point in the history
…into binyli/barrier
  • Loading branch information
Binyang2014 committed Nov 25, 2024
2 parents 32db36e + 9536c99 commit ff2345d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/nccl/src/nccl.cu
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static ncclResult_t ncclAllReduceFallback(const void* sendbuff, void* recvbuff,
mscclpp::DeviceHandle<mscclpp::SmChannel>* smOutChannels = nullptr;

// Creating the channels
if (count * ncclTypeSize(datatype) <= comm->largeMessageSizeBoundary) {
if (count * ncclTypeSize(datatype) <= (1 << 20)) {
auto sendIt = comm->channelScratchInfos.find(sendKey);
if (sendIt == comm->channelScratchInfos.end()) {
std::vector<mscclpp::SmChannel> channels =
Expand Down

0 comments on commit ff2345d

Please sign in to comment.