This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Codegen support for 'target teams' on the host.
ClosedPublic

Authored by arpith-jacob on Jan 24 2017, 7:11 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

arpith-jacob created this revision.Jan 24 2017, 7:11 AM
This revision is now accepted and ready to land.Jan 24 2017, 9:20 AM
This revision was automatically updated to reflect the committed changes.