<div dir="ltr">Hi,<div>Could anyone familiar with the gcc support for llvm-openmp help with this:</div><div><br></div><div>When I build everything with gcc, and using debug mode, the debugger refuses to stop at</div><div><br></div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:9pt">#pragma <span style="font-size:9pt">omp parallel</span></pre><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:9pt"><span style="color:rgb(187,181,41)">#pragma </span>omp <span style="color:rgb(204,120,50);font-weight:bold">for </span>schedule(<span style="color:rgb(204,120,50);font-weight:bold">static</span>)</pre></div><div><div> It seems that for schedule(static) is not mapped to GCC. </div><div><br></div><div>Or is there any <span class="gmail-gr_ gmail-gr_441 gmail-gr-alert gmail-gr_spell gmail-gr_inline_cards gmail-gr_disable_anim_appear gmail-ContextualSpelling gmail-ins-del gmail-multiReplace" id="gmail-441" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat;color:inherit;font-size:inherit">marco</span> that <span class="gmail-gr_ gmail-gr_458 gmail-gr-alert gmail-gr_gramm gmail-gr_inline_cards gmail-gr_disable_anim_appear gmail-Grammar gmail-multiReplace" id="gmail-458" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat;color:inherit;font-size:inherit">are</span> introduced inside <span class="gmail-gr_ gmail-gr_457 gmail-gr-alert gmail-gr_gramm gmail-gr_inline_cards gmail-gr_disable_anim_appear gmail-Grammar gmail-only-ins gmail-doubleReplace gmail-replaceWithoutSep" id="gmail-457" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat;color:inherit;font-size:inherit">function</span> </div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:9pt"><span style="color:rgb(144,139,37)">KMP_EXPAND_NAME</span>(<span style="color:rgb(144,139,37)">KMP_API_NAME_GOMP_PARALLEL</span>)</pre></div><div><span class="gmail-gr_ gmail-gr_468 gmail-gr-alert gmail-gr_gramm gmail-gr_inline_cards gmail-gr_run_anim gmail-Grammar gmail-replaceWithoutSep" id="gmail-468" style="display:inline;border-bottom:2px solid transparent;background-repeat:no-repeat;color:inherit;font-size:inherit">As</span> It is only calling this function when I was running the program.</div></div><div><br></div><div><br></div><div>however, if I use </div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:9pt"><span style="color:rgb(187,181,41)">#pragma </span>omp parallel</pre></div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:9pt"><span style="color:rgb(187,181,41)">#pragma </span>omp <span style="color:rgb(204,120,50);font-weight:bold">for </span>schedule(dynamic)</pre></div><div>it is calling </div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"DejaVu Sans Mono";font-size:9pt"><span style="color:rgb(204,120,50);font-weight:bold">void </span><span style="color:rgb(144,139,37)">KMP_EXPAND_NAME</span>(<span style="color:rgb(144,139,37)">KMP_API_NAME_GOMP_PARALLEL_LOOP_DYNAMIC</span>)</pre></div><div><br></div><div>Thanks,</div><div>Tianyi</div><div><br></div></div>