Page MenuHomePhabricator

[Polly] [GPUJIT] Set min size to 1 on allocation calls.
ClosedPublic

Authored by bollu on Aug 15 2017, 9:30 AM.

Event Timeline

bollu created this revision.Aug 15 2017, 9:30 AM
bollu updated this revision to Diff 111197.Aug 15 2017, 10:13 AM
bollu retitled this revision from [Polly] [GPUJIT] Set min size to 1 on allocation calls. All cuda allocation functions fail on size 0 allocations. So, make sure that we allocate a minimum of size 1. to [Polly] [GPUJIT] Set min size to 1 on allocation calls..
bollu edited the summary of this revision. (Show Details)
  • [NFC] document why we care about size 0 allocs
bollu updated this revision to Diff 111210.Aug 15 2017, 11:05 AM
  • [NFC] remove TODO with actual code
This revision is now accepted and ready to land.Aug 15 2017, 11:11 AM
This revision was automatically updated to reflect the committed changes.