Objet : Developers list for StarPU
Archives de la liste
- From: Jonathan Adamczewski <jadamcze@utas.edu.au>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: [Starpu-devel] setting the clBuildProgram() option parameter
- Date: Tue, 05 Apr 2011 01:39:08 +1000
- 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>
clBuildProgram() is called within starpu_opencl_load_opencl_from_string() with a hard-coded options parameter of "-Werror -cl-mad-enable". I would like to be able to set different options, such as include paths and macro definitions for the opencl kernels I am using with starpu.
If I were to add support for different option strings, what would be an appropriate/preferred way to do so? Options I can see are:
- extra parameter passed to the function (which needs to be added to other functions, too)
- extra const char* field in struct starpu_opencl_program (one option for all opencl programs)
- array of const char* fields in struct starpu_opencl_program, one for each program
- environment variable
Thanks
Jonathan.
- [Starpu-devel] setting the clBuildProgram() option parameter, Jonathan Adamczewski, 04/04/2011
- Re: [Starpu-devel] setting the clBuildProgram() option parameter, Cédric Augonnet, 04/04/2011
- Re: [Starpu-devel] setting the clBuildProgram() option parameter, Nathalie Furmento, 04/04/2011
- Re: [Starpu-devel] setting the clBuildProgram() option parameter, Jonathan Adamczewski, 05/04/2011
- Re: [Starpu-devel] setting the clBuildProgram() option parameter, Cédric Augonnet, 05/04/2011
- Re: [Starpu-devel] setting the clBuildProgram() option parameter, Jonathan Adamczewski, 05/04/2011
- Re: [Starpu-devel] setting the clBuildProgram() option parameter, Nathalie Furmento, 04/04/2011
- Re: [Starpu-devel] setting the clBuildProgram() option parameter, Cédric Augonnet, 04/04/2011
Archives gérées par MHonArc 2.6.19+.