pytorch
82d245fa - Inline hooks in ivalue::Future (#57354)

Commit
3 years ago
Inline hooks in ivalue::Future (#57354) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57354 The ivalue::Future class used to have some hooks, defined as separate protected virtual methods, so that they could be overridden by the CUDAFuture subclass. Now that CUDAFuture has been merged into ivalue::Future those hooks can be "inlined" to where they're used, hopefully making the code more readable as it puts related things closer together. ghstack-source-id: 127920096 Test Plan: CI Reviewed By: mrshenli Differential Revision: D28117199 fbshipit-source-id: f749cd842c3bdc44a08f0a33bef972dfbf08afdd
Author
lw lw
Parents
Loading