Hi Lef,

On 03/20/2015 03:18 AM, Lefteris Ioannidis wrote:
> My name is Lef, I'm a grad student from MIT CSAIL and I'm working on
>  improving Halide. Specifically I'm working on loop parallelization
> and building better loop optimizations. I noticed PoCL has got a
> Halide folder in your examples section but haven't managed to compile
> any Halide code using PoCL. What kind of stuff do you do with
> Halide?

What was the problem with Halide and pocl? For us it works OK.
We (in CPC/TUT, https://cpc.cs.tut.fi) use it for several
experimental ideas we are working on.

Please report bugs to https://github.com/pocl/pocl/issues (or better,
send merge requests with fixes :) ).

> What I want to do is extend the llvm IR that both Halide and PoCL use
> to include some parallel annotations that will make optimization
> easier. Let me know if you have any pointers or things you would want
> to see implemented in the IR level. Thank you.

I was involved in getting the llvm.loop and llvm.parallel_loop_access
metadata to upstream LLVM, motivated by the wish to have something more
performance portable in pocl than straight monolithic vector instruction
generation for implicit WG autoparallelization.

They are now used by pocl to annotate parallel work-item loops to
achieve better portable horizontal work-group autovectorization.
This paper was mostly about this idea:
http://link.springer.com/article/10.1007/s10766-014-0320-y

So, if your Halide output uses multiple work items in WGs, it should
already benefit from this.

What other type of parallel annotations are you considering?

--
--Pekka

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
pocl-devel mailing list
pocl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to