openmp - omp_outlined in omp program compiled with LLVM -


when compiling cpp program omp directives using llvm clang++ 4.9.2 see hidden function @.omp_outlined. generated in bitcode. wonder hidden function , if possible avoid generating it.

no, cannot prevent generation of outlined code in clang. outlining parallel region code own function how openmp implemented clang , many other compilers, including gcc, intel, , msvc. more details on how gcc implements can found here , here. clang follows more or less same method.

to knowledge, openmp compiler not explicitly outline openmp parallel regions 1 pgi. stack frame magic enable multiple threads execute portions of function code.


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -