Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Problem running CUDA task

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Problem running CUDA task


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • To: Miguel Palhas <mpalhas@gmail.com>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Problem running CUDA task
  • Date: Wed, 5 Jun 2013 16:25:14 +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>

Miguel Palhas, le Wed 05 Jun 2013 15:16:16 +0100, a écrit :
> This is an old question so i'll have to check if i'm thinking this right,
> but i
> believe the problem was due to the machine i use having 2 GPU's, one of
> which
> only supports an older computational capability. half the times, the kernel
> was
> being sent to the secondary GPU which didn't support the compiled kernel
> correctly, and probably issued an error.

Oh, indeed.

> setting the STARPU_NCUDA=1 environment variable solved the problem

Or better, you can use the .can_execute hook to tell StarPU more
precisely which device can execute which kernel.

Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page