[llvm-dev] LLVM and parallelization
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Tue Jan 12 09:31:20 PST 2016
> On Jan 12, 2016, at 9:20 AM, Iulia Stirb via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi Hal,
>
> Thank you for the answer.
>
> I tried to compile using Polly (clang -O3 -mllvm -polly -mllvm -polly-parallel -lgomp) but I get an warning saying polly argument is not used.
You need to build clang *with Polly*: http://polly.llvm.org/example_load_Polly_into_clang.html
—
Mehdi
>
> What do you mean when you say it has experimental support for (1) in the Polly project? Is (1) already implemented in clang and available for users?
>
> Regards,
> Iulia
>
>
> On Wednesday, December 16, 2015 10:42 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
>
> ----- Original Message -----
> > From: "Iulia Stirb via llvm-dev" <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>>
> > To: llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
> > Sent: Wednesday, December 16, 2015 9:28:54 AM
> > Subject: [llvm-dev] LLVM and parallelization
> >
> > Hi,
> >
> >
> > I know LLVM provides t hread-level automatic parallel support using
> > OpenMP (see http://blog.llvm.org/2015/05/openmp-support_22.html <http://blog.llvm.org/2015/05/openmp-support_22.html>),
> > but it is not clear for me which of the following is correct?
> >
> >
> > 1. Clang inserts in the source code OpenMP compiler directives, so,
> > it auto-parallelizes the serial source code provided as input or
> > 2. Clang can compile manually written parallel source code that uses
> > OpenMP directives
>
> Thus far, only (2). There is, however, experimental support for (1) in the Polly project.
>
> -Hal
>
>
> >
> > Best regards,
> > Iulia Stirb
>
> > _______________________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
> >
>
> --
> Hal Finkel
> Assistant Computational Scientist
> Leadership Computing Facility
> Argonne National Laboratory
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160112/739e1634/attachment.html>
More information about the llvm-dev
mailing list