Commit 2da43a9
Resolve Operator fallback to method allocator if temp alloc fails
Summary:
Currently, the resolve_operator step during method_init will fall back to method allocator if temp allocator is zero or not present.
This change adds logic to fallback to method allocator if temp allocator is present, but insufficient in size for the tensor meta.
Reviewed By: Andrew-github-user, rascani
Differential Revision: D1098558151 parent 4f95191 commit 2da43a9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
761 | 761 | | |
762 | 762 | | |
763 | 763 | | |
764 | | - | |
| 764 | + | |
765 | 765 | | |
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
| 772 | + | |
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| |||
0 commit comments