mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
recording events to a stream is not allowed if the stream and the event are not on the same device. This should cause an error, but OpenReg did not. In this PR, we fixed this issue. Pull Request resolved: https://github.com/pytorch/pytorch/pull/169052 Approved by: https://github.com/fffrog