[LLVMdev] Parallelization

Reid Kleckner reid.kleckner at gmail.com
Tue Mar 22 10:56:49 PDT 2011


On Tue, Mar 22, 2011 at 1:36 PM, Gokul Ramaswamy <gokulhcramaswamy at gmail.com
> wrote:

> Hi Duncan Sands,
>
>     As I have understood, GOMP and OpenMP provides support for
> parallelizing program at source program level. But I am at the IR level.
> That is I am trying to parallelize the IR code. This is the case of
> automatic parallelization. The programmer writing the code does not have any
> idea of parallelization going behind the hood.
>
> So my question is instead of support at the source program level, is the an
> support at the LLVM IR level to parallelize things ??
>


No, you have to insert calls to things like pthreads or GOMP or OpenMP or
whatever threading runtime you choose.

Reid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110322/7ac5ab96/attachment.html>


More information about the llvm-dev mailing list