Skip to content

Fix #260 - tidy up GPU API #279

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 5 commits into from
Apr 30, 2025

Conversation

lars-t-hansen
Copy link
Collaborator

@lars-t-hansen lars-t-hansen commented Apr 23, 2025

This cleans up the types used in the GPU API. That lets us get rid of a lot of casts elsewhere (though a few new ones need to be inserted, and there will be a followup bug for this one, cleaning up types used in ps especially). Some types were factored out into small types module to create a shared bottom layer for all the subcommands.

I also ran cargo fmt and cargo clippy to make sure things were as good as they could be, this meant inserting some clippy overrides here and there.

This should be squashed when landing, as there's some underlying noise in the history that's a result of my bungling my fork.

@lars-t-hansen lars-t-hansen requested a review from bast April 23, 2025 11:58
@lars-t-hansen
Copy link
Collaborator Author

I feared as much, the C-string literal syntax is not supported by our Rust version.

@lars-t-hansen
Copy link
Collaborator Author

I feared as much, the C-string literal syntax is not supported by our Rust version.

Requires Rust 1.77, I'll back out that change.

@lars-t-hansen lars-t-hansen merged commit f911ab9 into NordicHPC:main Apr 30, 2025
2 checks passed
@lars-t-hansen lars-t-hansen deleted the w-260-cleanup-gpuapi branch April 30, 2025 07:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant