Skip to content

Record: make field ordering deterministic, add test - #207

Draft
matthiasdiener wants to merge 12 commits into
inducer:mainfrom
matthiasdiener:record-dict
Draft

matthiasdiener wants to merge 12 commits into
inducer:mainfrom
matthiasdiener:record-dict

Conversation

@matthiasdiener

@matthiasdiener matthiasdiener commented Mar 20, 2024 •

Copy link
Copy Markdown
Contributor

Followup/remake of #199. There are still some compatibility errors to resolve.


It was code like this that made me substantially uneasy:

https://github.com/inducer/loopy/blob/d5512d5c6aec12f16a60aa5da31701c23d006bbd/loopy/kernel/instruction.py#L206-L211

Originally posted by @inducer in #199 (comment)


Edit: I wonder whether there is a way to make this just use dataclasses.

This branch has not been deployed

No deployments
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.

1 participant