Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Jan 27, 2026

This change allows the CUDA forward compat root used for Orin-based systems to be specified as a config option or as a flag to the nvidia-ctk cdi generate command.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar force-pushed the configure-nvgpu-compat branch 2 times, most recently from ac2214e to b102e2a Compare January 27, 2026 13:26
This change allows the container compat root for nvgpu (e.g. Orin) systems
to be specified either as the

nvidia-container-runtime.modes.csv.compat-container-root option in the config.toml
file, or with the --csv.compat-container-root (NVIDIA_CTK_CDI_GENERATE_CSV_COMPAT_CONTAINER_ROOT)
option when generating CDI specifications.

A WithCSVCompatContainerRoot option is also exposed in the nvcdi API.

Note that this option is only relevant when nvgpu devices are detected.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar force-pushed the configure-nvgpu-compat branch from b102e2a to 728cbe5 Compare January 27, 2026 13:55
@coveralls
Copy link

Pull Request Test Coverage Report for Build 21399919314

Details

  • 5 of 21 (23.81%) changed or added relevant lines in 5 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 39.455%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/modifier/csv.go 0 1 0.0%
pkg/nvcdi/lib.go 0 1 0.0%
pkg/nvcdi/options.go 0 6 0.0%
pkg/nvcdi/lib-csv.go 4 12 33.33%
Files with Coverage Reduction New Missed Lines %
pkg/nvcdi/options.go 1 11.65%
Totals Coverage Status
Change from base Build 21293826486: -0.02%
Covered Lines: 5704
Relevant Lines: 14457

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants