Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[c10d] Use macro to deduplicate codes (pytorch#101243)
Ops.cpp copies code for each of the three device keys (CPU, CUDA PrivateUse1). Use macro to deduplicate it. No logic change. Cc @kumpera @H-Huang Pull Request resolved: pytorch#101243 Approved by: https://github.com/H-Huang
- Loading branch information