Commit 5ddc269
Merge ivalue::Future's markCompleted and markCompletedWithDataPtrs (pytorch#56512)
Summary:
Pull Request resolved: pytorch#56512
I don't know if there was a reason to keep them separate, but since the former deferred to the latter, it seems to me that we can get the exact same behavior by merging them and making the `data_ptrs` argument optional (by giving it a default value).
ghstack-source-id: 127035767
Test Plan: Unit tests
Reviewed By: mrshenli
Differential Revision: D27861069
fbshipit-source-id: 93a49d6959b65a8d4ab9b31accce90bf30cd441e1 parent af23822 commit 5ddc269
File tree
2 files changed
+9
-15
lines changed- aten/src/ATen/core
- torch/csrc/distributed/rpc
2 files changed
+9
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
373 | 367 | | |
374 | 368 | | |
375 | | - | |
| 369 | + | |
376 | 370 | | |
377 | 371 | | |
378 | 372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments