Explorar o código

Fix tracing allocated buffer reuse

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
c38cc9875e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/datawizard/memalloc.c

+ 1 - 0
src/datawizard/memalloc.c

@@ -1316,6 +1316,7 @@ static starpu_ssize_t _starpu_allocate_interface(starpu_data_handle_t handle, st
 	if (try_to_find_reusable_mc(dst_node, handle, replicate, footprint))
 	{
 		_starpu_allocation_cache_hit(dst_node);
+		_STARPU_TRACE_END_ALLOC_REUSE(dst_node);
 		return data_size;
 	}
 	_STARPU_TRACE_END_ALLOC_REUSE(dst_node);