Warm up both out-of-place and in-place collectives (#51)

Este commit está contenido en:
Wenkai Du
2023-10-16 12:13:50 -07:00
cometido por GitHub
padre a6593375bc
commit 5ee7a08994
+1 -1
Ver fichero
@@ -641,7 +641,7 @@ testResult_t TimeTest(struct threadArgs* args, ncclDataType_t type, const char*
// Warm-up for small size
setupArgs(args->minbytes, type, args);
for (int iter = 0; iter < warmup_iters; iter++) {
TESTCHECK(startColl(args, type, op, root, 0, iter));
TESTCHECK(startColl(args, type, op, root, iter < warmup_iters/2 ? 0 : 1, iter));
}
TESTCHECK(completeColl(args));