[llvm-bugs] [Bug 50051] New: Clang does not honor schedule chunk in `target teams distribute parallel for` directives

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 20 22:14:05 PDT 2021


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

            Bug ID: 50051
           Summary: Clang does not honor schedule chunk in `target teams
                    distribute parallel for` directives
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang Compiler Support
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jdoerfert at anl.gov
                CC: a.bataev at hotmail.com, llvm-bugs at lists.llvm.org

>From what I can tell, at least reading the code we produce for 
`clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp`,
the schedule clause caused the generic mode but the actual chunk size is never
used in the distribute or workshare loop.

This is probably also a problem for other directives combinations.
The special handling we have here makes it too complicated, we should simplify
all that.

-- 
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/20210421/beaa5a7b/attachment.html>


More information about the llvm-bugs mailing list