We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a9391 commit fb92b85Copy full SHA for fb92b85
comms/ncclx/v2_27/meta/tests/CommSplitTest.cc
@@ -39,15 +39,15 @@ class CommSplitTest : public ::testing::Test {
39
cudaMemcpyHostToDevice));
40
}
41
42
- int checkAllReduceResult(int numRanks) {
+ int checkAllReduceResult(int commNumRanks) {
43
std::vector<int> observedVals(this->dataCount, -1);
44
CUDACHECK_TEST(cudaMemcpy(
45
observedVals.data(),
46
this->dataBuf,
47
this->dataCount * sizeof(int),
48
cudaMemcpyDefault));
49
50
- const int sumRanks = numRanks * (numRanks - 1) / 2;
+ const int sumRanks = commNumRanks * (commNumRanks - 1) / 2;
51
int errs = 0;
52
// Use manual print rather than EXPECT_THAT to print failing location
53
for (auto i = 0; i < this->dataCount; i++) {
0 commit comments