nvidia-container-toolkit/cmd/nvidia-ctk/cdi/generate
Evan Lezar f768bb5783 Use device index as CDI device names by default
This change uses the `index` mode for the --device-name-strategy when
generating CDI specifications by default. This generates device names
such as nvidia.com/gpu=0 or nvidia.com/gpu=1:0 by default.

Note that this requires a CDI spec version of 0.5.0 and for consumers
(e.g. podman) that are only compatible with older versions one of the
other stragegies (`type-index` or `uuid`) should be used instead to
generate a v0.3.0 or v0.4.0 specification.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-01-30 13:36:17 +01:00
..
common.go Allow locator to be marked as optional 2023-01-25 10:38:11 +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 Use device index as CDI device names by default 2023-01-30 13:36:17 +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