pytorch
0c3e79b5 - Rename DeviceGuardImplInteface's getStreamFromPool method (#57345)

Commit
3 years ago
Rename DeviceGuardImplInteface's getStreamFromPool method (#57345) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57345 Already back in https://github.com/pytorch/pytorch/pull/57046 we realized that calling this method `getStreamFromPool` could cause issues because that name gets HIPified and thus in some callsites we'd end up calling a method that doesn't exist. In the end we got away with it because the places where we were calling that method weren't HIPified. However in the next PR we'll use this method inside RPC, and that will start causing problems, hence here I rename it to something that should not cause conflicts. This is a private API (since it's inside `impl`) thus there's no backwards compatibility concerns. ghstack-source-id: 127916484 Test Plan: CI Reviewed By: mrshenli Differential Revision: D28114923 fbshipit-source-id: e027ad08a8e02090c08c6407c2db5a7fde104812
Author
lw lw
Parents
Loading