mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-01-23 19:17:02 +00:00
f768bb5783
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> |
||
---|---|---|
.. | ||
generate | ||
cdi.go |