Objet : Developers list for StarPU
Archives de la liste
- From: ASUDE ASUDE <ajitsdeshpande@gmail.com>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: [Starpu-devel] Query about threads/tasks in starpu
- Date: Thu, 22 Dec 2011 10:54:56 +0000
- 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,
Not sure if this relates completely to starpu or not but still asking, because did not see any points related to this in handbook.
I use starpu with my app and execute it on GPU card. I have a top level starpu function which declares starpu task structure, and have the necessary task create and other setup functionality to call codelet(I have both CUDA codelet and OpenCL codelet).
This top level function itself is called 3 times in a 'for loop' from my main function, for 3 different data sets(Image data R,G,B) and the actual codelet also has processing over all the pixels in the image/frame so it has 2 'for loops'
What I want to know is what kind of parallelism is exploited here - task level parallelism or data parallelism?
So what i want to understand is does starpu create multiple threads for different functionality/functions in the codelet and top level code and executes them in parallel and exploits task parallelism
OR
It creates threads/tasks for different 'for loop' iterations which are independent and thus achieving data parallelism. If it does this kind of parallelism, does it exploit this just by noting that different for loop iterations have no dependencies and hence can be scheduled in parallel? Because I don't see any special compiler constructs/intrinsics(parallel for loops as in openMP) which tells the compiler/scheduler to schedule such for loops / functions in parallel?
Any pointers useful.
thanks,
-Ajit
- [Starpu-devel] Query about threads/tasks in starpu, ASUDE ASUDE, 22/12/2011
- <Suite(s) possible(s)>
- Re: [Starpu-devel] Query about threads/tasks in starpu, Samuel Thibault, 22/12/2011
Archives gérées par MHonArc 2.6.19+.