Commit 26cd0aa
authored
Workaround for MPICH MPIX_Query_cuda_support assertion error (#4824)
For MPICH < 4, MPIX_Query_cuda_support will trigger an assertion error
if its call to PMPIX_GPU_query_support returns an error code. Here, we
work around it by calling MPIX_GPU_query_support directly. If it returns
an error code, it is treated as not supporting CUDA.
Close #48201 parent 0338c0f commit 26cd0aa
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
1547 | | - | |
| 1547 | + | |
1548 | 1548 | | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
1549 | 1554 | | |
1550 | 1555 | | |
1551 | 1556 | | |
| |||
0 commit comments