Objet : Developers list for StarPU
Archives de la liste
- From: Tristan Cabel <tsltc@nus.edu.sg>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: [Starpu-devel] pre-processing on CPU for openCL task
- Date: Fri, 23 Aug 2013 09:01:59 +0800
- 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,
I am starting to use starpu (Discontinuous Galerkin method applied to Maxwell equations) with CPU + OpenCL and I have a question.
I have a principal task (task A) with 2 implementations (CPU and OpenCL) and a pre-procesing task (task B) with only a CPU implementation. Moreover the task B is only required for the OpenCL implementation of the task A.
To synthetize :
CPU version --> task A with CPU codelet
OpenCL version --> pre-processing task B on CPU then task A on openCL
Write now I am calling task B before task A regardless of the implementation of task A but I would like to know is either possibility is possible :
- how can I access CPU pointers with STARPU_VECTOR_GET_PTR in a OpenCL function?
- is it possible to tell StarPU that before executing task A on OpenCL, it has to execute task B (but not if task A is taken over by a CPU)
Thanks,
Regards,
Tristan CABEL
- [Starpu-devel] pre-processing on CPU for openCL task, Tristan Cabel, 23/08/2013
Archives gérées par MHonArc 2.6.19+.