Commit e12b1cd
Fix MPI synchronization issue in get_device_kpar
- Remove redundant probe_gpu_availability check that could cause MPI inconsistency
- Function is only called when device=gpu is already confirmed
- Add comment clarifying the function should only be called in GPU mode
Co-authored-by: dzzz2001 <153698752+dzzz2001@users.noreply.github.com>1 parent f4653cb commit e12b1cd
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
| 247 | + | |
| 248 | + | |
254 | 249 | | |
255 | 250 | | |
256 | 251 | | |
| |||
0 commit comments