소스 검색

Reduce mpi LU testcase in valgrind

Samuel Thibault 4 년 전
부모
커밋
21d3efa6b0
3개의 변경된 파일12개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 1
      mpi/examples/mpi_lu/plu_example.c
  2. 4 1
      mpi/examples/mpi_lu/plu_implicit_example.c
  3. 4 1
      mpi/examples/mpi_lu/plu_outofcore_example.c

+ 4 - 1
mpi/examples/mpi_lu/plu_example.c

@@ -133,7 +133,10 @@ static void parse_args(int rank, int argc, char **argv)
 
 #ifdef STARPU_HAVE_VALGRIND_H
 	if (RUNNING_ON_VALGRIND)
-		size = 16;
+	{
+		size = 4;
+		nblocks = 4;
+	}
 #endif
 }
 

+ 4 - 1
mpi/examples/mpi_lu/plu_implicit_example.c

@@ -112,7 +112,10 @@ static void parse_args(int argc, char **argv)
 
 #ifdef STARPU_HAVE_VALGRIND_H
 	if (RUNNING_ON_VALGRIND)
-		size = 16;
+	{
+		size = 4;
+		nblocks = 4;
+	}
 #endif
 }
 

+ 4 - 1
mpi/examples/mpi_lu/plu_outofcore_example.c

@@ -123,7 +123,10 @@ static void parse_args(int argc, char **argv)
 
 #ifdef STARPU_HAVE_VALGRIND_H
 	if (RUNNING_ON_VALGRIND)
-		size = 16;
+	{
+		size = 4;
+		nblocks = 4;
+	}
 #endif
 }