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: unassignedclangb...@nondot.org
          Reporter: olga.malysh...@intel.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to