Explorar o código

Fix estimated allocated memory

Samuel Thibault %!s(int64=11) %!d(string=hai) anos
pai
achega
647ccc35a7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      mpi/examples/mpi_lu/plu_outofcore_example.c

+ 2 - 2
mpi/examples/mpi_lu/plu_outofcore_example.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010-2011, 2013  Université de Bordeaux 1
+ * Copyright (C) 2010-2011, 2013-2014  Université de Bordeaux 1
  * Copyright (C) 2010, 2011, 2012, 2013, 2014  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -128,7 +128,7 @@ static void create_matrix()
 
 	filename = malloc(filename_length);
 
-	allocated_memory += nblocks*nblocks*blocksize*sizeof(TYPE *);
+	allocated_memory += nblocks*nblocks*blocksize;
 
 	/* Create the whole matrix on the disk */
 	unsigned i,j;