gtest: add scatter to combined calls and use loops (#303)

* gtest: add scatter to combined calls and use loops

* gtest: run validation inside loop

* gtest: revert small element count to 2520

* gtest: fix memory leak in validation

(cherry picked from commit 36935cfbee)

* Fix combined call UT

* Fix memory leak

* Fix alltoallv test


[ROCm/rccl commit: b33a2cac8b]
This commit is contained in:
Wenkai Du
2020-11-13 17:57:44 -08:00
committed by Wenkai Du
orang tua 2c49121171
melakukan 560224fe9f
8 mengubah file dengan 61 tambahan dan 37 penghapusan
+2 -1
Melihat File
@@ -121,7 +121,7 @@ namespace CorrectnessTests
// Explicit memory release to avoid double-free from subDatasets
void Release()
{
for (int i = 0; i < outputs.size(); i++)
for (int i = 0; i < numDevices; i++)
{
if (!inPlace) hipFree(outputs[i]);
hipFree(inputs[i]);
@@ -443,6 +443,7 @@ namespace CorrectnessTests
}
ASSERT_EQ(isMatch, true);
}
free(outputI1);
}
// Passed in parameters from TestTuple