From 6719794fc8c346f279fb867a90ea011b62c63e84 Mon Sep 17 00:00:00 2001 From: David Addison Date: Mon, 12 Jul 2021 11:43:57 -0700 Subject: [PATCH] Removed MPI_SUPPORT conditional compilation of average flag [ROCm/rccl-tests commit: b9f90d12a906a0dc5e49f1ede6a52c7779289c01] --- projects/rccl-tests/src/common.cu | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/rccl-tests/src/common.cu b/projects/rccl-tests/src/common.cu index 4768b9be3e..c343342ffa 100644 --- a/projects/rccl-tests/src/common.cu +++ b/projects/rccl-tests/src/common.cu @@ -66,10 +66,8 @@ static int ncclroot = 0; static int parallel_init = 0; static int blocking_coll = 0; static int cudaGraphLaunches = 0; -#ifdef MPI_SUPPORT // Report average iteration time: (0=RANK0,1=AVG,2=MIN,3=MAX) static int average = 1; -#endif #define NUM_BLOCKS 32 @@ -870,11 +868,9 @@ int main(int argc, char* argv[]) { printf("Option -G (CUDA graph) not supported before NCCL 2.9 + CUDA 11.3. Ignoring\n"); #endif break; -#ifdef MPI_SUPPORT case 'a': average = (int)strtol(optarg, NULL, 0); break; -#endif case 'h': default: if (c != 'h') printf("invalid option '%c'\n", c); @@ -899,9 +895,7 @@ int main(int argc, char* argv[]) { "[-r,--root ] \n\t" "[-z,--blocking <0/1>] \n\t" "[-G,--cudagraph ] \n\t" -#ifdef MPI_SUPPORT "[-a,--average <0/1/2/3> report average iteration time <0=RANK0/1=AVG/2=MIN/3=MAX>] \n\t" -#endif "[-h,--help]\n", basename(argv[0])); return 0;