This is an archive of the discontinued LLVM Phabricator instance.

[Polly] Back out of GPU Codegen if NVPTX is not available
ClosedPublic

Authored by philip.pfaffe on Jun 7 2018, 8:36 AM.

Details

Summary

When enabling GPU codegen in polly, CMake will fail if NVPTX is not a target
supported by the LLVM polly is being built against. In that case, GPU codegen
should be switched off.

Diff Detail

Repository
rL LLVM

Event Timeline

philip.pfaffe created this revision.Jun 7 2018, 8:36 AM
This revision is now accepted and ready to land.Jun 7 2018, 12:18 PM
This revision was automatically updated to reflect the committed changes.