This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Pass -fopenmp-is-device to preprocessing and machine specific code generation stages
ClosedPublic

Authored by gtbercea on Feb 7 2017, 7:58 AM.

Details

Summary

The preprocessing and code generation and optimization stages of the compiler are also passed the "-fopenmp-is-device" flag. This is used to trigger machine specific preprocessing and code generation when performing device offloading to an NVIDIA GPU via OpenMP directives.

Diff Detail

Repository
rL LLVM

Event Timeline

gtbercea created this revision.Feb 7 2017, 7:58 AM
gtbercea updated this revision to Diff 93178.Mar 27 2017, 2:07 PM

Update patch to reflect latest source code changes.

Hahnfeld accepted this revision.Mar 29 2017, 10:45 AM
Hahnfeld added a subscriber: Hahnfeld.

LGTM

This revision is now accepted and ready to land.Mar 29 2017, 10:45 AM
gtbercea updated this revision to Diff 93561.Mar 30 2017, 4:04 PM

Update based on previous patches.

gtbercea closed this revision.Jun 29 2017, 8:59 AM