[llvm-bugs] [Bug 33922] New: [OpenMP 5.0] New ident_t flags for __kmpc_for_static_init()

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 25 05:07:39 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33922

            Bug ID: 33922
           Summary: [OpenMP 5.0] New ident_t flags for
                    __kmpc_for_static_init()
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: olga.malysheva at intel.com
                CC: llvm-bugs at lists.llvm.org

OpenMP 5.0 will include OpenMP Tools interface that requires distinguishing
different worksharing constructs. 
Since the same entry point (__kmp_for_static_init(ident_t *loc, kmp_int32
global_tid,........)) is called in case static loop/sections/distribute it is
suggested using 'flags' field of the ident_t structure to pass the type of the
construct.

Please add the following flags and set them properly
OMP_IDENT_WORK_LOOP = 0x200 // static loop 
OMP_IDENT_WORK_SECTIONS = 0x400 //sections
OMP_IDENT_WORK_DISTRIBUTE = 0x800 //distribute

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170725/ab675ed8/attachment.html>


More information about the llvm-bugs mailing list