Skip to content

Remove unnecessary buffer allocation at chunk manager initialization (Thrust)#1226

Closed
doichanj wants to merge 5 commits into
Qiskit:masterfrom
doichanj:fix-memory-usage
Closed

Remove unnecessary buffer allocation at chunk manager initialization (Thrust)#1226
doichanj wants to merge 5 commits into
Qiskit:masterfrom
doichanj:fix-memory-usage

Conversation

@doichanj
Copy link
Copy Markdown
Contributor

Summary

This is the fix for issue #1224

Details and comments

Chunk manager allocated buffers for MPI and buffers for checkpoint at the initialization.
However these are unnecessary for most cases. (MPI host buffer is only required for environments without GPUDirectRDMA)
So I removed these allocations and allocate checkpoint buffer when checkpoint is used.

@doichanj
Copy link
Copy Markdown
Contributor Author

This fix is merged to PR #1200 , so I would like to close this one.

@doichanj doichanj closed this Apr 23, 2021
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

Successfully merging this pull request may close these issues.

1 participant