forked from libfabric-test1/libfabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hmem/cuda: Fallback to CUDA calls when NVML call fails.
The NVML calls to verify nvidia devices are nice-to-have features that allow a cheaper check and earlier exit when cuda devices are not present. When NVML call fails, we shouldn't fail the whole cuda hmem init but should fall back to the normal cuda api calls. It is observed that users may use an NVML libraries that only contain stub functions for build purpose. Signed-off-by: Shi Jin <[email protected]>
- Loading branch information
1 parent
2786c8d
commit 9928e6f
Showing
1 changed file
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters