diff options
author | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2018-10-29 15:45:47 +0000 |
---|---|---|
committer | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2018-10-29 15:45:47 +0000 |
commit | e92567601b4b457d7f68a31ee21d2c2769c8de3b (patch) | |
tree | c5618d3b4991e48ae9e50d218a9a2d720437e4f0 /clang/test/Import/switch-stmt | |
parent | 98640f8456bc9b66f983d00d02e54ba012581b8b (diff) | |
download | bcm5719-llvm-e92567601b4b457d7f68a31ee21d2c2769c8de3b.tar.gz bcm5719-llvm-e92567601b4b457d7f68a31ee21d2c2769c8de3b.zip |
[OpenMP][NVPTX] Use single loops when generating code for distribute parallel for
Summary: This patch adds a new code generation path for bound sharing directives containing distribute parallel for. The new code generation scheme applies to chunked schedules on distribute and parallel for directives. The scheme simplifies the code that is being generated by eliminating the need for an outer for loop over chunks for both distribute and parallel for directives. In the case of distribute it applies to any sized chunk while in the parallel for case it only applies when chunk size is 1.
Reviewers: ABataev, caomhin
Reviewed By: ABataev
Subscribers: jholewinski, guansong, cfe-commits
Differential Revision: https://reviews.llvm.org/D53448
llvm-svn: 345509
Diffstat (limited to 'clang/test/Import/switch-stmt')
0 files changed, 0 insertions, 0 deletions