Browse Source

really keep the highest factor for setting dblockx/y

Samuel Thibault 13 years ago
parent
commit
704be77fae
1 changed files with 2 additions and 1 deletions
  1. 2 1
      mpi/examples/cholesky/mpi_cholesky.c

+ 2 - 1
mpi/examples/cholesky/mpi_cholesky.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  *
- * Copyright (C) 2009-2011  Université de Bordeaux 1
+ * Copyright (C) 2009-2012  Université de Bordeaux 1
  * Copyright (C) 2010  Mehdi Juhoor <mjuhoor@gmail.com>
  * Copyright (C) 2010  Mehdi Juhoor <mjuhoor@gmail.com>
  * Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
  * Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
  *
  *
@@ -213,6 +213,7 @@ int main(int argc, char **argv)
 		  {
 		  {
 		       dblockx = nodes/factor;
 		       dblockx = nodes/factor;
 		       dblocky = factor;
 		       dblocky = factor;
+		       break;
 		  }
 		  }
 	     }
 	     }
 	}
 	}