Browse Source

src/datawizard/malloc.c: starpu_free needs to inform the memory manager some memory is given back, but how do we know how much?

Nathalie Furmento 12 years ago
parent
commit
72e761688c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/datawizard/malloc.c

+ 4 - 0
src/datawizard/malloc.c

@@ -290,6 +290,10 @@ int starpu_free(void *A)
 		free(A);
 	}
 
+#ifdef STARPU_DEVEL
+#warning FIXME: how do we know the size
+#endif
+//	_starpu_memory_manager_deallocate_size(size, 0);
 	return 0;
 }