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

How to release GPU memory by CPP interface? #484

Open
ducheng678 opened this issue Nov 22, 2018 · 3 comments
Open

How to release GPU memory by CPP interface? #484

ducheng678 opened this issue Nov 22, 2018 · 3 comments
Labels
mxnet mxnet dependent issues

Comments

@ducheng678
Copy link

ducheng678 commented Nov 22, 2018

@zhreshold

@zhreshold
Copy link
Member

For now, the memory is always released to a memory pool for reuse. There's no API to release the memory pool to system, unless you exit the process.

@ducheng678
Copy link
Author

ducheng678 commented Nov 22, 2018

I find two interface functions named MXNDArrayFree( ) and MXSymbolFree( ) in c_api.h of mxnet. But when I use them, they do not work well. Could you test them?
@zhreshold

@zhreshold
Copy link
Member

I can help you raise it if you can open an feature request first https://github.com/apache/incubator-mxnet/issues

@zhreshold zhreshold added the mxnet mxnet dependent issues label Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mxnet mxnet dependent issues
Projects
None yet
Development

No branches or pull requests

2 participants