pytorch
ffc8a269 - philox_engine_inputs should also round increment to a multiple of 4 (#50916)

Commit
3 years ago
philox_engine_inputs should also round increment to a multiple of 4 (#50916) Summary: `philox_engine_inputs()` is deprecated. Callers should refactor to use `philox_cuda_state()`, and afaik all call sites in aten have already been refactored, but in the meantime on behalf of other consumers (ie extensions, possibly some lingering call sites in jit), `philox_engine_inputs` should handle the increment the same way `philox_cuda_state` does. Pull Request resolved: https://github.com/pytorch/pytorch/pull/50916 Reviewed By: mrshenli Differential Revision: D26022618 Pulled By: ngimel fbshipit-source-id: 17178ad099ddc17d3596b9508ae4dce729b44f57
Author
Parents
Loading