Skip to content

[no-ci] Check struct and class changes in ABI checking tool - #1952

Merged
leofang merged 1 commit into
NVIDIA:mainfrom
mdboom:add-abi-checking-tool2
Apr 22, 2026
Merged

[no-ci] Check struct and class changes in ABI checking tool#1952
leofang merged 1 commit into
NVIDIA:mainfrom
mdboom:add-abi-checking-tool2

Conversation

@mdboom

Copy link
Copy Markdown
Contributor

I had to push my agent really hard to use an actual parser and not build up crazy regexes, but I think the result is pretty ok.

This will now detect changes in the size or content of structs and also the sizes of cdef classes.

@github-actions

This comment has been minimized.

@mdboommdboom self-assigned this Apr 20, 2026
@mdboommdboom added the CI/CD CI/CD infrastructure label Apr 20, 2026
@mdboom
mdboom requested a review from leofangApril 20, 2026 13:09
@leofang

Copy link
Copy Markdown
Member

Q: So this addition allows for checking a C struct's layout & size changes?

@mdboom

Copy link
Copy Markdown
ContributorAuthor

Q: So this addition allows for checking a C struct's layout & size changes?

Yes. Basically any change to a struct gets reported as an error.

@leofangleofang changed the title Check struct and class changes in ABI checking tool[no-ci] Check struct and class changes in ABI checking toolApr 22, 2026
@leofangleofang added this to the cuda.core v1.0.0 milestone Apr 22, 2026
@leofangleofang added the enhancement Any code-related improvements label Apr 22, 2026
@leofang
leofang merged commit 18bbe5b into NVIDIA:mainApr 22, 2026
95 of 99 checks passed
@github-actions

Copy link
Copy Markdown
Doc Preview CI
Preview removed because the pull request was closed or merged.

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

Labels

CI/CDCI/CD infrastructureenhancementAny code-related improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mdboom@leofang