<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 12, 2016, at 9:20 AM, Iulia Stirb via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: verdana, helvetica, sans-serif; font-size: 24px;" class=""><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7392" class=""><span id="yui_3_16_0_1_1452617116730_9919" class="">Hi Hal,</span></div><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7378" class=""><br clear="none" id="yui_3_16_0_1_1452617116730_10739" class=""></div><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7393" class=""><span id="yui_3_16_0_1_1452617116730_9918" class="">Thank you for the answer.</span></div><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7324" class=""><br clear="none" id="yui_3_16_0_1_1452617116730_10744" class=""></div><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7347" class=""><span class="" id="yiv0399560770yui_3_16_0_1_1451822123127_7344">I tried to compile using Polly (</span><span class="" id="yiv0399560770yui_3_16_0_1_1451822123127_7346" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;">clang -O3 -mllvm -polly -mllvm -polly-parallel -lgomp</span>) but I get an warning saying polly argument is not used.</div></div></div></div></blockquote><div><br class=""></div><div>You need to build clang *with Polly*: <a href="http://polly.llvm.org/example_load_Polly_into_clang.html" class="">http://polly.llvm.org/example_load_Polly_into_clang.html</a></div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: verdana, helvetica, sans-serif; font-size: 24px;" class=""><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7347" class=""><br clear="none" id="yui_3_16_0_1_1452617116730_10750" class=""></div><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7347" class="">What do you mean when you say it has <span class="" id="yiv0399560770yui_3_16_0_1_1451822123127_7428" style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;">experimental support for (1) in the Polly project</span>? Is (1) already implemented in clang and available for users?</div><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7347" class=""><br clear="none" id="yui_3_16_0_1_1452617116730_10755" class=""></div><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7347" class="">Regards,</div><div dir="ltr" id="yiv0399560770yui_3_16_0_1_1451822123127_7347" class="">Iulia</div> <div class="qtdSeparateBR" id="yui_3_16_0_1_1452617116730_10830"><br class=""><br class=""></div><div class="yahoo_quoted" id="yui_3_16_0_1_1452617116730_10853" style="display: block;"> <div style="font-family: verdana, helvetica, sans-serif; font-size: 24px;" id="yui_3_16_0_1_1452617116730_10852" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1452617116730_10851" class=""> <div dir="ltr" id="yui_3_16_0_1_1452617116730_10854" class=""><font size="2" face="Arial" class=""> On Wednesday, December 16, 2015 10:42 PM, Hal Finkel <<a href="mailto:hfinkel@anl.gov" class="">hfinkel@anl.gov</a>> wrote:<br class=""></font></div>  <br class=""><br class=""> <div class="y_msg_container" id="yui_3_16_0_1_1452617116730_10850">----- Original Message -----<br clear="none" class="">> From: "Iulia Stirb via llvm-dev" <<a shape="rect" ymailto="mailto:llvm-dev@lists.llvm.org" href="mailto:llvm-dev@lists.llvm.org" id="yui_3_16_0_1_1452617116730_10855" class="">llvm-dev@lists.llvm.org</a>><br clear="none" class="">> To: <a shape="rect" ymailto="mailto:llvm-dev@lists.llvm.org" href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br clear="none" class="">> Sent: Wednesday, December 16, 2015 9:28:54 AM<br clear="none" class="">> Subject: [llvm-dev] LLVM and parallelization<br clear="none" class="">> <br clear="none" class="">> Hi,<br clear="none" class="">> <br clear="none" class="">> <br clear="none" class="">> I know LLVM provides t hread-level automatic parallel support using<br clear="none" class="">> OpenMP (see <a shape="rect" href="http://blog.llvm.org/2015/05/openmp-support_22.html" target="_blank" class="">http://blog.llvm.org/2015/05/openmp-support_22.html </a>),<br clear="none" class="">> but it is not clear for me which of the following is correct?<br clear="none" class="">> <br clear="none" class="">> <br clear="none" class="">> 1. Clang inserts in the source code OpenMP compiler directives, so,<br clear="none" class="">> it auto-parallelizes the serial source code provided as input or<br clear="none" class="">> 2. Clang can compile manually written parallel source code that uses<br clear="none" class="">> OpenMP directives<br clear="none" class=""><br clear="none" class="">Thus far, only (2). There is, however, experimental support for (1) in the Polly project.<br clear="none" class=""><br clear="none" class=""> -Hal<div class="yqt6136457067" id="yqtfd13692"><br clear="none" class=""><br clear="none" class="">> <br clear="none" class="">> Best regards,<br clear="none" class="">> Iulia Stirb</div><br clear="none" class="">> _______________________________________________<br clear="none" class="">> LLVM Developers mailing list<br clear="none" class="">> <a shape="rect" ymailto="mailto:llvm-dev@lists.llvm.org" href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br clear="none" class="">> <a shape="rect" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br clear="none" class="">> <br clear="none" class=""><br clear="none" class="">-- <br clear="none" class="">Hal Finkel<br clear="none" class="">Assistant Computational Scientist<br clear="none" class="">Leadership Computing Facility<br clear="none" class="">Argonne National Laboratory<div class="yqt6136457067" id="yqtfd93214"><br clear="none" class=""></div><br class=""><br class=""></div>  </div> </div>  </div></div></div>_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></body></html>