[llvm-bugs] [Bug 46573] New: GOMP interface: handling of if0 tasks with dependency
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Fri Jul  3 00:55:12 PDT 2020
    
    
  
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: unassignedbugs at nondot.org
          Reporter: protze at itc.rwth-aachen.de
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200703/a0b2b04b/attachment.html>
    
    
More information about the llvm-bugs
mailing list