HomePhabricator

[OpenMP] Simplify offloading parallel call codegen

Authored by ggeorgakoudis on Apr 21 2021, 11:41 AM.

Description

[OpenMP] Simplify offloading parallel call codegen

This revision simplifies Clang codegen for parallel regions in OpenMP GPU target offloading and corresponding changes in libomptarget: SPMD/non-SPMD parallel calls are unified under a single kmpc_parallel_51 runtime entry point for parallel regions (which will be commonized between target, host-side parallel regions), data sharing is internalized to the runtime. Tests have been auto-generated using update_cc_test_checks.py. Also, the revision contains changes to OpenMPOpt for remark creation on target offloading regions.

Reviewed By: jdoerfert, Meinersbur

Differential Revision: https://reviews.llvm.org/D95976

Details

Committed
ggeorgakoudisApr 21 2021, 6:46 PM
Reviewer
jdoerfert
Differential Revision
D95976: [OpenMP] Simplify offloading parallel call codegen
Parents
rG77ac823fd285: Delete le32/le64 targets
Branches
Unknown
Tags
Unknown