mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Add imex mode to CDI spec generation
This change adds a imex mode to CDI spec generation. This mode detected generates CDI specifications for existing IMEX channels. By default these devices have the fully qualified CDI device names: nvidia.com/imex-channel=<ID> Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
@@ -40,6 +40,8 @@ const (
|
||||
// ModeCSV configures the CDI spec generator to generate a spec based on the contents of CSV
|
||||
// mountspec files.
|
||||
ModeCSV = Mode("csv")
|
||||
// ModeImex configures the CDI spec generated to generate a spec for the available IMEX channels.
|
||||
ModeImex = Mode("imex")
|
||||
)
|
||||
|
||||
type modeConstraint interface {
|
||||
|
||||
Reference in New Issue
Block a user