ソースを参照

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
 }