Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: luli757@student.liu.se
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: [Starpu-devel] Fwd: Re: StarPU: OpenCL do not work well
- Date: Mon, 14 Mar 2011 10:43:59 +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>
-------- Original Message -------- Subject: Re: [Starpu-devel] StarPU: OpenCL do not work well Date: Sat, 12 Mar 2011 00:47:53 +0100 From: Sylvain HENRY <sylvain.henry@inria.fr> To: starpu-devel@lists.gforge.inria.fr Hi, For debugging purpose, could you add the following line in examples/basic_examples/vector_scal_opencl.c just after the clGetKernelWorkGroupInfo(...): fprintf(stderr, "Work group size: %ld\n", local); This should tell you what the block size used is. If it doesn't divide 2048, is equal to 0 or is greater than 1024, the error is here. Please report this value to us. Anyway, for this particular case, replacing: err = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, &global, &local, 0, NULL, NULL); with err = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, &global, NULL, 0, NULL, NULL); in the same file, should solve the issue. (I didn't try this fix) Cheers Sylvain Le 11/03/2011 21:34, Leo Li a écrit : Hi, everybody My name is Lu Li. I am a master student at Linkoping University, Sweden. I currently do my master thesis based on StarPU under professor Christoph W. Kessler. And I got a problem, could someone help me. Thanks. My problem is that if I run vector_scale example after setting environment variables: export STARPU_NOPENCL=1 export STARPU_NCUDA=0 export STARPU_NCPUS=0 I will get an error(See attached invalid.jpg, the screenshot). StarPU works fine with CPU and CUDA. I have run some test on my OPENCL device.(Result shown in attached file: oclDeviceQuery.txt) Seems Opencl device is ok. So There might be some configuration problem on StarPU. Could someone help me. I can offer more detail if needed. Thank you. _______________________________________________ Starpu-devel mailing list Starpu-devel@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel |
Starpu-devel mailing list
Starpu-devel@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-devel
- [Starpu-devel] Fwd: Re: StarPU: OpenCL do not work well, Nathalie Furmento, 14/03/2011
- Message indisponible
- Re: [Starpu-devel] StarPU: OpenCL do not work well, Nathalie Furmento, 14/03/2011
- Message indisponible
- Message indisponible
- Message indisponible
- Message indisponible
- Re: [Starpu-devel] StarPU: OpenCL do not work well, Leo Li, 26/03/2011
- Re: [Starpu-devel] StarPU: OpenCL do not work well, Nathalie Furmento, 26/03/2011
- Message indisponible
- Message indisponible
- Message indisponible
- Message indisponible
- Re: [Starpu-devel] StarPU: OpenCL do not work well, Nathalie Furmento, 14/03/2011
- Message indisponible
Archives gérées par MHonArc 2.6.19+.