Browse Source

add parameter size to function starpu_free_buffer_on_node()

Nathalie Furmento 12 years ago
parent
commit
45c1f431f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/datawizard/memalloc.c

+ 1 - 1
src/datawizard/memalloc.c

@@ -828,7 +828,7 @@ starpu_allocate_buffer_on_node(uint32_t dst_node, size_t size)
 }
 }
 
 
 void
 void
-starpu_free_buffer_on_node(uint32_t dst_node, uintptr_t addr)
+starpu_free_buffer_on_node(uint32_t dst_node, uintptr_t addr, size_t size)
 {
 {
 	enum starpu_node_kind kind = starpu_node_get_kind(dst_node);
 	enum starpu_node_kind kind = starpu_node_get_kind(dst_node);
 	switch(kind)
 	switch(kind)