diff --git a/projects/rccl/src/nccl.h.in b/projects/rccl/src/nccl.h.in index eab3c83444..3f8ddc1ce7 100644 --- a/projects/rccl/src/nccl.h.in +++ b/projects/rccl/src/nccl.h.in @@ -639,7 +639,8 @@ ncclResult_t pncclScatter(const void* sendbuff, void* recvbuff, @details Device (i) send (j)th block of data to device (j) and be placed as (i)th block. Each block for sending/receiving has *count* elements, which means that *recvbuff* and *sendbuff* should have a size of nranks*count elements. - In-place operation will happen if sendbuff == recvbuff. + In-place operation is NOT supported. It is the user's responsibility + to ensure that sendbuff and recvbuff are distinct. @return Result code. See @ref rccl_result_code for more details. @param[in] sendbuff Data array to send (contains blocks for each other rank) diff --git a/projects/rccl/test/AllToAllTests.cpp b/projects/rccl/test/AllToAllTests.cpp index 418edb3189..b006ef8870 100644 --- a/projects/rccl/test/AllToAllTests.cpp +++ b/projects/rccl/test/AllToAllTests.cpp @@ -3,6 +3,9 @@ * * See LICENSE.txt for license information ************************************************************************/ + + // Note: InPlace is not supported for All-To-All + #include "TestBed.hpp" namespace RcclUnitTesting diff --git a/projects/rccl/test/AllToAllVTests.cpp b/projects/rccl/test/AllToAllVTests.cpp index bc6fd29706..b86ff6c556 100644 --- a/projects/rccl/test/AllToAllVTests.cpp +++ b/projects/rccl/test/AllToAllVTests.cpp @@ -3,6 +3,9 @@ * * See LICENSE.txt for license information ************************************************************************/ + + // Note: InPlace is not supported for All-To-Allv + #include "TestBed.hpp" namespace RcclUnitTesting