]> granicus.if.org Git - clang/commit
[OpenMP] Initial implementation of code generation for pragma 'target teams distribut...
authorCarlo Bertolli <cbertol@us.ibm.com>
Wed, 3 Jan 2018 21:12:44 +0000 (21:12 +0000)
committerCarlo Bertolli <cbertol@us.ibm.com>
Wed, 3 Jan 2018 21:12:44 +0000 (21:12 +0000)
commitb15c7832951df61953dfd3b9cfde3a6088ae5c9b
tree6260ef6107e5e829f6f2a10f1bbde593bc76e9ac
parent0e8934cb92a9ed360166e5cadd4a18b3122a8044
[OpenMP] Initial implementation of code generation for pragma 'target teams distribute parallel for' on host

https://reviews.llvm.org/D41709

This patch includes code generation and testing for offloading when target device is host.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321759 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
lib/Basic/OpenMPKinds.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp [new file with mode: 0644]