-
Notifications
You must be signed in to change notification settings - Fork 622
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
Add functions to preallocate pools and release unused pool memory #4563
Conversation
CI MESSAGE: [6999896]: BUILD STARTED |
CI MESSAGE: [6999896]: BUILD FAILED |
CI MESSAGE: [7000985]: BUILD STARTED |
CI MESSAGE: [7000985]: BUILD FAILED |
CI MESSAGE: [7009051]: BUILD STARTED |
CI MESSAGE: [7009185]: BUILD STARTED |
CI MESSAGE: [7009185]: BUILD FAILED |
Signed-off-by: Michał Zientkiewicz <mzient@gmail.com>
Signed-off-by: Michał Zientkiewicz <mzient@gmail.com>
Signed-off-by: Michał Zientkiewicz <mzient@gmail.com>
Signed-off-by: Michał Zientkiewicz <mzient@gmail.com>
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
d989761
to
5ca073a
Compare
CI MESSAGE: [7025765]: BUILD STARTED |
CI MESSAGE: [7025765]: BUILD FAILED |
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
CI MESSAGE: [7027461]: BUILD STARTED |
CI MESSAGE: [7027461]: BUILD FAILED |
… CUDA VM memory resource. Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
CI MESSAGE: [7032456]: BUILD STARTED |
CI MESSAGE: [7032456]: BUILD PASSED |
…IDIA#4563) * Add a base class that exposes common memory pool functions. * Add preallocation. * Add tests for ReleaseUnused. * Add C and python bindings. * Add documentation. * Fix malloc resource device_id handling. * Disable full ReleaseUnused test and preallocation test when not using CUDA VM memory resource. Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
Category:
New feature
Refactoring
Description:
This PR adds global C++, C and Python bindings to functions that
There's also a refactoring:
Additional information:
Affected modules and functionalities:
mm/default_resources
C API
backend_impl
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: DALI-3170