diff --git a/src/alltoall.cu b/src/alltoall.cu index ba3c6f1088..4b8e66d5a2 100644 --- a/src/alltoall.cu +++ b/src/alltoall.cu @@ -60,23 +60,8 @@ void AlltoAllGetBw(size_t count, int typesize, double sec, double* algBw, double } testResult_t AlltoAllRunColl(void* sendbuff, void* recvbuff, size_t count, ncclDataType_t type, ncclRedOp_t op, int root, ncclComm_t comm, hipStream_t stream) { - int nRanks; - NCCLCHECK(ncclCommCount(comm, &nRanks)); - size_t rankOffset = count * wordSize(type); - if (count == 0) return testSuccess; - -#if NCCL_MAJOR < 2 || NCCL_MINOR < 7 - printf("NCCL 2.7 or later is needed for alltoall. This test was compiled with %d.%d.\n", NCCL_MAJOR, NCCL_MINOR); - return testNcclError; -#else - NCCLCHECK(ncclGroupStart()); - for (int r=0; r