pocl/pocl — pull request #147 by volkankeles (2014-12-02 09:27:41+00:00)
Title: Fixed buffer allocation problem for memories bigger than 2GB

- Updated `chunk_slack` function to return only the result of the
comparison and set `last_chunk_size` via a pointer
- Updated the other functions which use that function