Explorar o código

Tell how to compile StarPU to have a more precise MPI sendrecv benchmark

Philippe SWARTVAGHER %!s(int64=5) %!d(string=hai) anos
pai
achega
62616aaf0c
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      mpi/examples/benchs/sendrecv_bench.c

+ 6 - 0
mpi/examples/benchs/sendrecv_bench.c

@@ -83,6 +83,12 @@ int main(int argc, char **argv)
 		return STARPU_TEST_SKIPPED;
 	}
 
+#if !defined(STARPU_LONG_CHECK)
+	if (rank == 0)
+	{
+		printf("To have a more precise benchmark, configure StarPU with --enable-long-check\n");
+	}
+#endif
 
 	if (pause_workers)
 	{