Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize memory use on GPUs #328

Open
pdziekan opened this issue Jun 18, 2018 · 0 comments
Open

Optimize memory use on GPUs #328

pdziekan opened this issue Jun 18, 2018 · 0 comments

Comments

@pdziekan
Copy link
Contributor

pdziekan commented Jun 18, 2018

Some thrust algorithms allocate temporary memory (probably not a complete list):

  • sort (_by_key too)
  • reduce (_by_key too)
  • merge
  • scan
  • accumulate
  • remove_if

We could make them use our own temporary buffers (tmp_device_real_ etc.).
Some direction how this could be done:
https://github.com/thrust/thrust/blob/master/examples/cuda/fallback_allocator.cu or
https://groups.google.com/forum/#!topic/thrust-users/nXQD6j7_xfs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant