This patch includes code generation and testing for offloading when target device is host.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
| Paths 
 |  Differential  D41709  
[OpenMP] Initial implementation of code generation for pragma 'target teams distribute parallel for' on host ClosedPublic Authored by carlo.bertolli on Jan 3 2018, 12:59 PM. 
Details 
 Summary This patch includes code generation and testing for offloading when target device is host. 
Diff Detail 
 
Revision Contents 
 
Diff 128551 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
 
 test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp
 
 test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
 
 test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
 
 test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
 
 test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
 
 test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
 
 test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
 
 test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
 
 test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||