[PATCH] D29084: [OpenMP] Codegen support for 'target teams' on the host.

Arpith Jacob via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 24 07:11:50 PST 2017


arpith-jacob created this revision.

This patch adds support for codegen of 'target teams' on the host.
This combined directive has two captured statements, one for the
'teams' region, and the other for the 'parallel'.

This target teams region is offloaded using the __tgt_target_teams()
call.  The patch sets the number of teams as an argument to
this call.


https://reviews.llvm.org/D29084

Files:
  lib/Basic/OpenMPKinds.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/Sema/SemaOpenMP.cpp
  test/OpenMP/target_teams_codegen.cpp
  test/OpenMP/target_teams_codegen_registration.cpp
  test/OpenMP/target_teams_codegen_registration_naming.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29084.85585.patch
Type: text/x-patch
Size: 90105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170124/53147fc8/attachment-0001.bin>


More information about the cfe-commits mailing list