2
0

Revert "UnitTest: add test cases for 2.14 API (ncclCommInitRankConfig and ncclCommFinalize for non-blocking communicator) (#662)" (#666)

This reverts commit f29aa66d4f.

[ROCm/rccl commit: 54a3da04eb]
Este cometimento está contido em:
Pedram Alizadeh
2022-12-14 11:28:40 -05:00
cometido por GitHub
ascendente c9ba20d749
cometimento a85f71a421
6 ficheiros modificados com 9 adições e 146 eliminações
+3 -7
Ver ficheiro
@@ -85,13 +85,12 @@ namespace RcclUnitTesting
}
void TestBed::InitComms(std::vector<std::vector<int>> const& deviceIdsPerProcess,
int const numCollectivesInGroup, bool const useBlocking)
int const numCollectivesInGroup)
{
// Count up the total number of GPUs to use and track child/deviceId per rank
this->numActiveChildren = deviceIdsPerProcess.size();
this->numActiveRanks = 0;
this->numCollectivesInGroup = numCollectivesInGroup;
this->useBlocking = useBlocking;
this->rankToChildMap.clear();
this->rankToDeviceMap.clear();
if (ev.verbose) INFO("Setting up %d active child processes\n", this->numActiveChildren);
@@ -140,9 +139,6 @@ namespace RcclUnitTesting
// Send the number of collectives to be run per group call
PIPE_WRITE(childId, numCollectivesInGroup);
// Send the RCCL communication with blocking or non-blocking option
PIPE_WRITE(childId, useBlocking);
// Send whether to use MultiRank interfaces or not.
PIPE_WRITE(childId, useMulti);
@@ -163,9 +159,9 @@ namespace RcclUnitTesting
}
}
void TestBed::InitComms(int const numGpus, int const numCollectivesInGroup, bool const useBlocking)
void TestBed::InitComms(int const numGpus, int const numCollectivesInGroup)
{
InitComms(TestBed::GetDeviceIdsList(1, numGpus), numCollectivesInGroup, useBlocking);
InitComms(TestBed::GetDeviceIdsList(1, numGpus), numCollectivesInGroup);
}
void TestBed::SetCollectiveArgs(ncclFunc_t const funcType,