Parcourir la source

examples/stencil/stencil-blocks.c: fix memory consumption display

Nathalie Furmento il y a 11 ans
Parent
commit
6006eb36b8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/stencil/stencil-blocks.c

+ 1 - 1
examples/stencil/stencil-blocks.c

@@ -267,7 +267,7 @@ static void allocate_block_on_node(starpu_data_handle_t *handleptr, TYPE **ptr,
 
 void display_memory_consumption(int rank)
 {
-	fprintf(stderr, "%lu MB of memory were allocated on node %d\n", allocated/(1024*1024), rank);
+	fprintf(stderr, "%lu B of memory were allocated on node %d\n", allocated, rank);
 }
 
 void allocate_memory_on_node(int rank)