Merge pull request #46 from NVIDIA/p2p

Add alltoall perf test
이 커밋은 다음에 포함됨:
Sylvain Jeaugey
2020-06-17 10:45:29 -07:00
커밋한 사람 GitHub
4개의 변경된 파일129개의 추가작업 그리고 8개의 파일을 삭제
+3 -1
파일 보기
@@ -308,7 +308,7 @@ testResult_t CheckData(struct threadArgs* args, ncclDataType_t type, ncclRedOp_t
#endif
}
double nranks = args->nProcs*args->nThreads*args->nGpus;
if (maxDelta > DeltaMaxValue(type)*(nranks - 1)) args->errors[0]++;
if (args->reportErrors && maxDelta > DeltaMaxValue(type)*(nranks - 1)) args->errors[0]++;
*delta = maxDelta;
return testSuccess;
}
@@ -834,6 +834,8 @@ testResult_t run() {
threads[t].args.bw=bw+t;
threads[t].args.bw_count=bw_count+t;
threads[t].args.reportErrors = 1;
threads[t].func = parallel_init ? threadInit : threadRunTests;
if (t)
TESTCHECK(threadLaunch(threads+t));