Commit 9ca7e14
authored
mm: discard async errors from pinning failures (#10738)
Pretty much every error cudaHostRegister can throw also queues the same
error on the async GPU queue. This was fixed for repinning error case,
but there is the bad mmap and just enomem cases that are harder to
detect.
Do some dummy GPU work to clean the error state.1 parent 8fd0717 commit 9ca7e14
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1129 | 1139 | | |
1130 | 1140 | | |
1131 | 1141 | | |
| |||
1158 | 1168 | | |
1159 | 1169 | | |
1160 | 1170 | | |
| 1171 | + | |
| 1172 | + | |
1161 | 1173 | | |
1162 | 1174 | | |
1163 | 1175 | | |
| |||
1186 | 1198 | | |
1187 | 1199 | | |
1188 | 1200 | | |
| 1201 | + | |
| 1202 | + | |
1189 | 1203 | | |
1190 | 1204 | | |
1191 | 1205 | | |
| |||
0 commit comments