This is an archive of the discontinued LLVM Phabricator instance.

Add ppcg-0.04 to lib/External
ClosedPublic

Authored by grosser on Jul 5 2016, 10:04 PM.

Details

Summary

ppcg will be used to provide mapping decisions for GPU code generation.

As we do not use C as input language, we do not include pet. However, we include
pet.h from pet 82cacb71 plus a set of dummy functions to ensure ppcg links
without problems.

The version of ppcg committed is unmodified ppcg-0.04 which has been well tested
in the context of LLVM. It does not provide an official library interface yet,
which means that in upcoming commits we will add minor modifications to make
necessary functionality accessible. We will aim to upstream these modifications
after we gained enough experience with GPU generation support in Polly to
propose a stable interface.

Diff Detail

Repository
rL LLVM

Event Timeline

grosser updated this revision to Diff 62823.Jul 5 2016, 10:04 PM
grosser retitled this revision from to Add ppcg-0.04 to lib/External.
grosser updated this object.
grosser added subscribers: llvm-commits, pollydev.
Meinersbur added inline comments.Jul 6 2016, 5:23 AM
lib/CMakeLists.txt
57–61 ↗(On Diff #62823)

Simpler version:

if (GPU_CODEGEN)
  target_link_libraries(Polly PollyPPCG)
endif ()
grosser updated this revision to Diff 63025.Jul 6 2016, 9:15 PM

Simplify cmake file

This revision was automatically updated to reflect the committed changes.