Display N/A for error count in AlltoAll in-place test

AlltoAll does not support in-place buffers


[ROCm/rccl-tests commit: a0a14911ee]
Šī revīzija ir iekļauta:
David Addison
2022-09-06 13:17:15 -07:00
vecāks 70b6c0f5e5
revīzija 59ed17798f
+2 -2
Parādīt failu
@@ -467,7 +467,7 @@ testResult_t BenchTime(struct threadArgs* args, ncclDataType_t type, ncclRedOp_t
int64_t wrongElts = 0;
static __thread int rep = 0;
rep++;
if (datacheck) {
if (args->reportErrors) {
// Initialize sendbuffs, recvbuffs and expected
TESTCHECK(args->collTest->initData(args, type, op, root, rep, in_place));
@@ -529,7 +529,7 @@ testResult_t BenchTime(struct threadArgs* args, ncclDataType_t type, ncclRedOp_t
} else {
sprintf(timeStr, "%7.2f", timeUsec);
}
if (datacheck) {
if (args->reportErrors) {
PRINT(" %7s %6.2f %6.2f %5g", timeStr, algBw, busBw, (double)wrongElts);
} else {
PRINT(" %7s %6.2f %6.2f %5s", timeStr, algBw, busBw, "N/A");