Commit 9684337
committed
btl/ofi: use libfabric 1.18 API if available
This patch try to use 1.18 API when it is available. This is because
1.18 API clearly define provider's CUDA API behavior to be that
provider can call CUDA API by default if application uses 1.18 API.
When using older version of API, some libfabric will not claim
support of FI_HMEM even if it is capable of supporting because
the provider does not know whether CUDA calls are permitted.
Signed-off-by: Wei Zhang <[email protected]>1 parent df5a394 commit 9684337
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
| |||
0 commit comments