search for: parallelizationmetadata

Displaying 4 results from an estimated 4 matches for "parallelizationmetadata".

2012 Sep 13
2
[LLVMdev] [RFC] Progress towards OpenMP support
...have a way of avoiding that? > > I'm still not very clear about this. Either a pass understands (and > looks at) the parallelization metadata or it doesn't. In case it > doesn't it doesn't matter what the metadata looks like anyway. In > case it does, we have the ParallelizationMetadata pass to present a > consistent view of the metadata; how does it matter how the metadata > actually looks like? I think it will be helpful if you could > illustrate your point with an example. My largest concern is, for example, having a parallel region with a serial subregion, and havin...
2012 Sep 13
0
[LLVMdev] [RFC] Progress towards OpenMP support
...since it consumes the modified, normalized metadata as soon as it is "produced". It could also make the MD consistent if it wanted to, but that would be redundant, since it is the only piece of code that directly reads the MD. https://github.com/sanjoy/llvm/blob/parallel-md/lib/Analysis/ParallelizationMetadata.cpp is basically an implementation of this "squashed" pass. It provides an interface to the MD and this interface normalizes the MD before exposing it. Thanks! -- Sanjoy Das http://playingwithpointers.com
2012 Sep 13
0
[LLVMdev] [RFC] Progress towards OpenMP support
...n is enabled. Do you have > a way of avoiding that? I'm still not very clear about this. Either a pass understands (and looks at) the parallelization metadata or it doesn't. In case it doesn't it doesn't matter what the metadata looks like anyway. In case it does, we have the ParallelizationMetadata pass to present a consistent view of the metadata; how does it matter how the metadata actually looks like? I think it will be helpful if you could illustrate your point with an example. To be clear, I'm not saying that dropping metadata is unreasonable; but am trying to figure out what the c...
2012 Sep 13
2
[LLVMdev] [RFC] Progress towards OpenMP support
On Tue, 11 Sep 2012 01:21:59 +0530 Sanjoy Das <sanjoy at playingwithpointers.com> wrote: Sanjoy, Thanks for working on this! Comments below... > Hi all, > > I made some progress on implementing Hal's proposal [1] for > implementing OpenMP support in LLVM. The patch I've attached just > barely compiles, but I'd like to get some input on the design early on >