Add an optional Device parameter to pin_memory/is_pinned that does nothing (#60201)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60201
This is to flush out BC/FC problems with adding this parameter. Later
PR will actually add the desired functionality.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Reviewed By: ngimel
Differential Revision: D29331880
Pulled By: ezyang
fbshipit-source-id: 6036716d6ae55e6ea7ef2348b6c34a39613c8dd5