浏览代码

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 年之前
父节点
当前提交
72e761688c
共有 1 个文件被更改,包括 4 次插入0 次删除
  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;
 }