Skip to content

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

Merged
leofang merged 1 commit intoNVIDIA: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 intoNVIDIA:mainfrom
mdboom:add-abi-checking-tool2

Conversation

@mdboom
Copy link
Copy Markdown
Contributor

@mdboom mdboom commented Apr 17, 2026

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.

@mdboom mdboom self-assigned this Apr 20, 2026
@mdboom mdboom added the CI/CD CI/CD infrastructure label Apr 20, 2026
@mdboom mdboom requested a review from leofang April 20, 2026 13:09
@leofang
Copy link
Copy Markdown
Member

leofang commented Apr 21, 2026

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

@mdboom
Copy link
Copy Markdown
Contributor Author

mdboom commented Apr 21, 2026

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.

@leofang leofang changed the title Check struct and class changes in ABI checking tool [no-ci] Check struct and class changes in ABI checking tool Apr 22, 2026
@leofang leofang added this to the cuda.core v1.0.0 milestone Apr 22, 2026
@leofang leofang added the enhancement Any code-related improvements label Apr 22, 2026
@leofang leofang merged commit 18bbe5b into NVIDIA:main Apr 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD CI/CD infrastructure enhancement Any code-related improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants