Commit 1c24ac7
Fix to failing invalid device test
Summary:
The InitializationFailsWithInvalidDeviceId test was failing because of
an error in the cuda mock.
Reviewed By: MittalMakwana
Differential Revision: D85512707
fbshipit-source-id: 48123587312f8d9838e948844b0f74ab26c2c56b1 parent dcfca09 commit 1c24ac7
File tree
2 files changed
+20
-0
lines changed- comms/torchcomms/ncclx/tests/unit/cpp
- mocks
2 files changed
+20
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
144 | 161 | | |
145 | 162 | | |
146 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
0 commit comments