From 59ed17798fd1e16ec4d28cd159235d095d83caf4 Mon Sep 17 00:00:00 2001 From: David Addison Date: Tue, 6 Sep 2022 13:17:15 -0700 Subject: [PATCH] Display N/A for error count in AlltoAll in-place test AlltoAll does not support in-place buffers [ROCm/rccl-tests commit: a0a14911ee5405353a85a7e345c188514410e10e] --- projects/rccl-tests/src/common.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rccl-tests/src/common.cu b/projects/rccl-tests/src/common.cu index eaa3318f34..0bc047c4f1 100644 --- a/projects/rccl-tests/src/common.cu +++ b/projects/rccl-tests/src/common.cu @@ -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");