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.

@elezar elezar force-pushed the configure-nvgpu-compat branch 3 times, most recently from b102e2a to 728cbe5 Compare January 27, 2026 13:55
@coveralls
Copy link

coveralls commented Jan 27, 2026

Pull Request Test Coverage Report for Build 21447475688

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 21438245608: -0.02%
Covered Lines: 5704
Relevant Lines: 14457

💛 - Coveralls

@elezar elezar added this to the v1.19.0 milestone Jan 27, 2026
@elezar elezar added the tegra label Jan 27, 2026
Signed-off-by: Evan Lezar <elezar@nvidia.com>
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 728cbe5 to 9cf3975 Compare January 28, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants