This is an archive of the discontinued LLVM Phabricator instance.

[Polly][GPGPU] Fixed undefined reference for CUDA's managed memory in Runtime library.
ClosedPublic

Authored by PhilippSchaad on Aug 27 2017, 4:54 AM.

Details

Reviewers
bollu
grosser
Summary

References to polly_freeManaged and polly_mallocManaged resulted in undefined references to the GPUJIT Runtime library. The API was broken and has now been generalized again.

Event Timeline

PhilippSchaad created this revision.Aug 27 2017, 4:54 AM
bollu accepted this revision.Aug 27 2017, 4:58 AM

LGTM, thanks for generalising it :) I'm sorry, I'll keep the mixed CUDA/OpenCL thing in mind next time I mess with GPUJIt.

This revision is now accepted and ready to land.Aug 27 2017, 4:58 AM

Not a problem, thanks for reacting so quickly! :-)

PhilippSchaad closed this revision.Aug 27 2017, 6:34 AM

Was committed with https://llvm.org/svn/llvm-project/polly/trunk@311848 91177308-0d34-0410-b5e6-96231b3b80d8