nvidia-container-toolkit/cmd/nvidia-ctk/cdi/generate
Evan Lezar 89bf81a9db Add --device-name-strategy flag for CDI spec generation
This change adds a --device-name-strategy flag for generating a CDI
specificaion. This allows a CDI spec to be generated with the following
names used for device:

* type-index: gpu0 and mig0:1
* index: 0 and 0:1
* uuid: GPU and MIG UUIDs

Note that the use of 'index' generates a v0.5.0 CDI specification since
this relaxes the restriction on the device names.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-01-20 16:17:32 +01:00
..
common.go Make handling of nvidia-ctk path consistent 2023-01-18 17:02:42 +01:00
device-folder-permissions.go Make handling of nvidia-ctk path consistent 2023-01-18 17:02:42 +01:00
driver.go Reuse mount discovery for driver libraries 2023-01-19 12:11:13 +01:00
full-gpu.go Make handling of nvidia-ctk path consistent 2023-01-18 17:02:42 +01:00
generate.go Add --device-name-strategy flag for CDI spec generation 2023-01-20 16:17:32 +01:00
ipc.go Use Options to set FileLocator options 2022-12-02 13:57:33 +01:00
mig-device.go Ensure existence of DRM devices nodes is checked 2022-12-12 14:48:54 +01:00
namer.go Add --device-name-strategy flag for CDI spec generation 2023-01-20 16:17:32 +01:00