-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cuda: check for libcuda instead of /dev/nvidiactl
The check for `/dev/nvidiactl` to determine if the CUDA plugin can be used is unreliable. This patch changes the logic to check if the `libcuda.so.1` shared object can be loaded and a GPU device is available, which is a more accurate indicator. The subsequent check for `--action` option would confirm if the NVIDIA driver is installed and supports checkpoint/restore. Signed-off-by: Radostin Stoyanov <[email protected]>
- Loading branch information
Showing
1 changed file
with
41 additions
and
4 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