Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] StarPU CUDA out of memory

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] StarPU CUDA out of memory


Chronologique Discussions 
  • From: Usman Dastgeer <usman.dastgeer@liu.se>
  • To: <starpu-devel@lists.gforge.inria.fr>
  • Subject: [Starpu-devel] StarPU CUDA out of memory
  • Date: Mon, 18 Feb 2013 09:43:50 +0100
  • 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>

Hello,

I am getting "out of memory" error with CUDA fermi GPU when using StarPU.

I am executing a "call" 15 times in a loop and I do it in the following way:

for(i=1...15)
{
starpu_data_register(...) calls
function_call(...)
starpu-data_unregister() calls
}


When executing call directly with CUDA (i.e. without starpu) the call works fine and the memory consumption is at max 1085MB for my problem size while the available GPU memory is around 2687MB (checked using nvidia-smi).

With StarPU it seems that CUDA memory is not actually freed on "data_unregister" and that creates problem as memory consumption reaches 2109MB already on 2nd execution and after that all remaining 13 executions fail with "out of memory" error.

What do you think?

--
regards,
Usman.






Archives gérées par MHonArc 2.6.19+.

Haut de le page