This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Support for the num_threads-clause on 'target parallel' on the NVPTX device.
ClosedPublic

Authored by arpith-jacob on Jan 24 2017, 6:59 AM.

Details

Summary

This patch adds support for the Spmd construct 'target parallel' on the
NVPTX device. This involves ignoring the num_threads clause on the device
since the number of threads in this combined construct is already set on
the host through the call to __tgt_target_teams().

Diff Detail

Repository
rL LLVM

Event Timeline

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