Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to get MIG device info from the NVML API
Previously, we relied solely on trying to parse the UUID of the MIG device (since the API didn't support getting an NVML device handle from a UUID). Moving forward, however, the UUIDs won't have the correct structure to parse them. That said, functionality is being added in it's place to actually get the MIG device handle from the UUID (obsoleting the old method). This patch ensures that we use the API to get this info (if available) and only fall back to parsing the UUID if not (for backwards compatibiltiy). Signed-off-by: Kevin Klues <[email protected]>
- Loading branch information