Add function to get temp allocator (#4034)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/4034 Expose the temp allocator in the `BackendExecutionContext`. For the custom allocator provided by the backend, it's possible that they can support more than allocate function and we want to provide the flexibility if they have the custom allocator. Reviewed By: tarun292, cmt0 Differential Revision: D58881648 fbshipit-source-id: d124f529991ef3cbb9e3b3db4c6d447b809bdbee
C
Chen Lai committed
5e22836d6bde69963f7a69d54750243609fc2b09
Parent: b2a4bb6
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 6/21/2024, 9:26:51 PM