Adding fix for unsufficient devices / better logging for skipped tests (#63)
[ROCm/rccl commit: a115f577dd]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7c60e997e0
Коммит
08a65f2201
@@ -173,8 +173,13 @@ namespace CorrectnessTests
|
||||
// Only proceed with testing if there are enough GPUs
|
||||
if (numDevices > numDevicesAvailable)
|
||||
{
|
||||
fprintf(stdout, "Skipping test requring %d devices (only %d available)\n",
|
||||
fprintf(stdout, "[ SKIPPED ] Test requires %d devices (only %d available)\n",
|
||||
numDevices, numDevicesAvailable);
|
||||
|
||||
// Modify the number of devices so that tear-down doesn't occur
|
||||
// This is temporary until GTEST_SKIP() becomes available
|
||||
numDevices = 0;
|
||||
numDevicesAvailable = -1;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user