Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] StarPU task_submit failure on gpu

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] StarPU task_submit failure on gpu


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: Ankit Khandelwal <amkhande@umail.iu.edu>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] StarPU task_submit failure on gpu
  • Date: Mon, 07 Oct 2013 09:50:36 +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>

Hello Ankit,

Could you please send us the file config.log and also the output of the command

tools/starpu_machine_display

> I believe if the device is available it would by default enable its support for CUDA during installation. 

You are right about that.

> I did try to explicitly state the STARPU_NCUDA=2. On adding this it showed up below message:
> [starpu][_starpu_init_machine_config] Warning: 2 CUDA devices requested. Only 0 available.
> what does only 0 available mean?

It means StarPU has found 0 CUDA devices on your machine, it means either it did not detect the needed CUDA libraries when calling configure, or that it cannot see the devices. We should know more by looking at the information i asked you to send.

Thanks.

Regards,

Nathalie

On 06/10/2013 04:24, Ankit Khandelwal wrote:
Hello Team,

I am working with StarPU and trying to submit task on GPU's. While making StarPU the configuration instruction showed that there were 4 GPU    devices available. I believe if the device is available it would by default enable its support for CUDA during installation. 
Next, what I did was: changed .where variable in codelet structure cl of vector_scal.c in basic_example directory of StarPU to following:
.where = STARPU_CUDA
STARPU_USE_CUDA macro works as expected and detects CUDA. 
The compilation of program is successful but when I try to run it it gives me below error:
[starpu] Unexpected value: <-19> returned for starpu_task_submit
I did try to explicitly state the STARPU_NCUDA=2. On adding this it showed up below message:
[starpu][_starpu_init_machine_config] Warning: 2 CUDA devices requested. Only 0 available.
what does only 0 available mean? Also, I did run normal basic cuda programs and they were working fine.
Can you please help me with understanding of this behavior?

Regards,
Ankit Khandelwal


_______________________________________________
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