Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Warning when some data handles have not been unregistered() at shutdown() time ?

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Warning when some data handles have not been unregistered() at shutdown() time ?


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: Benoît Lizé <benoit.lize@gmail.com>, starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Warning when some data handles have not been unregistered() at shutdown() time ?
  • Date: Mon, 23 Jun 2014 13:02:30 +0200
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

I added the feature in both the trunk and the branch 1.1.

It is indeed useful to have the information.

Thanks,

Nathalie

On 20/06/2014 17:40, Benoît Lizé wrote:
Hello,

While debugging a memory leak in my application, I realized that there does not seem to be a warning when the client program forgets to unregister() some data handles, at least in the default configuration (StarPU 1.1.2).

Such a warning could be useful at least in a debugging context, since it looks like StarPU doesn't automatically frees the handle in starpu_shutdown(), causing a memory leak if the user is not careful enough.

What do you think ? Would that be useful / hard / costly to add ?

Thank you,

-- 
Benoit Lize



_______________________________________________
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel




Archives gérées par MHonArc 2.6.19+.

Haut de le page