Objet : Developers list for StarPU
Archives de la liste
- From: Bogdan Manciu <bogdan.manciu@movidius.com>
- To: starpu-devel@lists.gforge.inria.fr
- Cc: Alin Dobre <alin.dobre@movidius.com>, David Nicholls <david.nicholls@movidius.com>
- Subject: Re: [Starpu-devel] starpu opencl app
- Date: Mon, 22 Oct 2012 18:44:32 +0300
- 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>
So, I've had several suggestions coming back: - Samuel Thibault <samuel.thibault@ens-lyon.org> suggested "" instead of NULL for the final argument of starpu_opencl_load_opencl_from_file this fixes the reported segfault Next it crashes in clEnqueueWriteImage. Cyril Roelandt <cyril.roelandt@inria.fr> suggested a patch to replace err = clEnqueueWriteImage(queue, d_tex, CL_TRUE, origin, region, width*sizeof(float), 0, (void *) d_src, 0, NULL, NULL); with err = clEnqueueCopyBufferToImage(queue, d_src, d_tex, 0, origin, region, 0, NULL, NULL); This does work however I would really like to keep WriteImage as this isn't my code. I also got some profiling related suggestions from the same patch that got implemented. So please, if anybody can give me some pointers how to properly call clEnqueueWriteImage with starpu buffers( STARPU_MATRIX_GET_PTR or alternatives). Thanks On 19.10.2012 17:11, Bogdan Manciu wrote: 50815F96.8030105@movidius.com"> Hi, --
Bogdan Manciu Systems |
Attachment:
jpgiLPjxEcNo7.jpg
Description: JPEG image
- [Starpu-devel] starpu opencl app, Bogdan Manciu, 19/10/2012
- Re: [Starpu-devel] starpu opencl app, Samuel Thibault, 19/10/2012
- Re: [Starpu-devel] starpu opencl app, Cyril Roelandt, 19/10/2012
- Re: [Starpu-devel] starpu opencl app, Cyril Roelandt, 19/10/2012
- Re: [Starpu-devel] starpu opencl app, Cyril Roelandt, 19/10/2012
- Re: [Starpu-devel] starpu opencl app, Bogdan Manciu, 22/10/2012
- Re: [Starpu-devel] starpu opencl app, Samuel Thibault, 19/10/2012
Archives gérées par MHonArc 2.6.19+.