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

Remove memory allocation on GPU from MPI worker nodes #3911

Merged
merged 2 commits into from
Sep 30, 2020

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Sep 23, 2020

Fixes #3910

Description of changes:

  • create an asynchronous stream on the GPU only for the head node

cudaStreamCreate() allocates around 130 MB of data on the GPU,
yet the GPU is only used on the head node. This allocation is
unnecessary on worker nodes and locks resources that could be
used by the head node, e.g. to run a GPU LB simulation with a
finer grid.
@jngrad jngrad added the Core label Sep 23, 2020
@jngrad jngrad added this to the Espresso 4.1.4 milestone Sep 23, 2020
@jngrad jngrad requested a review from mkuron September 23, 2020 15:41
@jngrad jngrad requested a review from RudolfWeeber September 23, 2020 20:09
@jngrad
Copy link
Member Author

jngrad commented Sep 29, 2020

ping @RudolfWeeber

@RudolfWeeber
Copy link
Contributor

RudolfWeeber commented Sep 29, 2020 via email

@jngrad jngrad added the automerge Merge with kodiak label Sep 30, 2020
@kodiakhq kodiakhq bot merged commit c9621a1 into espressomd:python Sep 30, 2020
jngrad pushed a commit to jngrad/espresso that referenced this pull request Oct 13, 2020
Fixes espressomd#3910

Description of changes:
- create an asynchronous stream on the GPU only for the head node
@jngrad jngrad deleted the fix-3910 branch January 18, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge with kodiak Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unnecessary CUDA allocation in MPI worker nodes
3 participants