Displaying 2 results from an estimated 2 matches for "parallel_begin".
2012 Jan 18
1
[LLVMdev] OpenMP support for LLVM
...nMP constructs to LLVM intrinsics.
I think it would make sense to leave out intrinsics for things like
"parallel for", "parallel sections", which are essentially syntactic
sugar.
One way to denote a structured block could be by nesting it within two
intrinsics like
llvm.openmp.parallel_begin (llvm.openmp.clause_if(%1) <and so forth>)
body
llvm.openmp.parallel_end()
or we could pass in an end label to parallel_begin (we can then call
it parallel instead of parallel_begin). I'm not sure which one is the
better idea. There will have to be restrictions on the body, of
course...
2012 Jan 16
0
[LLVMdev] OpenMP support for LLVM
On Mon, 2012-01-16 at 17:14 +0100, Tobias Grosser wrote:
> On 01/16/2012 03:04 AM, Vlad Krylov wrote:
> > I am interested. I would be grateful for your hints.
>
> Great. ;-)
>
> > So OpenMP has various constructs such as parallel, barrier, single,
> > for, etc. And there is at least two libraries to generate OpenMP code:
> > libgomp and mpc. We want to be