Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Aug 25, 2025

When generating CDI specs for coherent and noncoherent devices, we include CDI device annotations. This increases the minimum CDI spec version to v0.6.0 which is not as widely supported as v0.5.0 or v0.3.0.

This change removes these annotations after splitting the generated specs to produce coherent and/or non-coherent specs.

Closes #1262

Note that since we're generating a CDI spec for nvidia.com/gpu.coherent devices, these are v0.6.0 specs since . was only allowed in the spec from v0.6.0.

@elezar elezar added this to the v1.18.0 milestone Aug 25, 2025
@coveralls
Copy link

coveralls commented Aug 25, 2025

Pull Request Test Coverage Report for Build 17327741758

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 35.791%

Totals Coverage Status
Change from base Build 17319675414: 0.05%
Covered Lines: 4665
Relevant Lines: 13034

💛 - Coveralls

@elezar elezar requested a review from ArangoGutierrez August 26, 2025 14:31
@elezar elezar self-assigned this Aug 26, 2025
@elezar elezar requested a review from cdesiniotis August 26, 2025 15:30
When generating CDI specs for coherent and noncoherent devices,
we include CDI device annotations. This increases the minimum CDI spec
version to v0.6.0 which is not as widely supported as v0.5.0 or v0.3.0.

This change removes these annotations after splitting the generated
specs to produce coherent and/or non-coherent specs.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar force-pushed the remove-unneeded-cdi-annotations branch from b7a508a to afd934b Compare August 29, 2025 15:21
@ArangoGutierrez ArangoGutierrez requested review from ArangoGutierrez and removed request for ArangoGutierrez August 29, 2025 15:52
Copy link
Collaborator

@ArangoGutierrez ArangoGutierrez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the reply on my suggestion

@elezar elezar merged commit 266cb3e into NVIDIA:main Sep 8, 2025
16 checks passed
@elezar elezar deleted the remove-unneeded-cdi-annotations branch September 8, 2025 09:55
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.

Remove device annotations from generated specs

3 participants