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
[Pluggable Device] Add custom device mem allocator for Pluggable device. #47921
[Pluggable Device] Add custom device mem allocator for Pluggable device. #47921
Conversation
…ces. The commit provides a simple alternative to BFCAllocator for Pluggable devices to do their own device memory management.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for the PR! I think you forgot to add pluggable_device_simple_allocator.cc
and pluggable_device_simple_allocator.h
?
Ah, thanks!. Added it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the changes!
@kulinseth can you please check sanity build failures ? |
@rthadur They are minor formatting errors. In the interest of time (since the branch cut is next week), I'll just manually import the PR and fix them. :) I'm just waiting for the |
Thanks a lot @penpornk. Please let me know if there is needed form my side. |
The commit provides a simple alternative to BFCAllocator for Pluggable devices
to do their own device memory management.
@penpornk , @annarev , @jzhoulon