Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: Leo Li <luli757@student.liu.se>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] StarPU: OpenCL do not work well
- Date: Mon, 14 Mar 2011 15:10:51 +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>
It seems you are using a old version of StarPU. Could you please update
to a newest version, and let us know if the problem is still there. You can get StarPU latest nightly snapshot from the following page: http://starpu.gforge.inria.fr/testing/ Thanks, Nathalie On 14/03/2011 11:42, Leo Li wrote: Hi, Sorry for late response.
I can not find code " clGetKernelWorkGroupInfo(...)"
in vector_scal_opencl.c,
so I can not have this value reported to you.
I
replace the line with your suggested code, and my problem solved in the
case. Thank you.
Sorry
again for late responese.
On Mon, Mar 14, 2011 at 10:43 AM, Nathalie
Furmento <nathalie.furmento@labri.fr>
wrote:
-------- Original Message --------
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 :
-- Faithful Lu Li Contact: +46704759692 |
- [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+.