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

            Bug ID: 46573
           Summary: GOMP interface: handling of if0 tasks with dependency
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedb...@nondot.org
          Reporter: pro...@itc.rwth-aachen.de
                CC: llvm-bugs@lists.llvm.org

As I understand the implementation, KMP_API_NAME_GOMP_TASK ignores dependencies
for if0 tasks. (see runtime/test/ompt/tasks/taskwait-depend.c) 

Clang generates a __kmpc_omp_wait_deps call before the
__kmpc_omp_task_begin_if0, so I think the GOMP wrapper should do the same or
just create the explicit task. The latter will make it easier to support
mutexinoutset.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to