Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Refactor cubed sphere dss test #1961

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

charleskawczynski
Copy link
Member

@charleskawczynski charleskawczynski commented Aug 29, 2024

This PR refactors the cubed sphere test by adding some utility functions that can be used for the cpu and gpu. I've also split out (what I hope to be) the unit test and cpu-gpu comparison test. Since it right now only does a cpu-gpu comparison, it runs the risk of both being wrong and matching. Ideally, we test the result against a simply computed result in the test suite, and that test can run both on the cpu and gpu.

The refactored test also tests covariant and contravariant transformations, which are not exercised in ddss1.jl, so this PR also adds this as a CPU test to buildkite and the unit test suite.

This is a step towards #1780.

Copy link
Member

@Sbozzolo Sbozzolo left a comment

Choose a reason for hiding this comment

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

Thank you!

@charleskawczynski charleskawczynski merged commit 9dd63b9 into main Aug 29, 2024
19 of 21 checks passed
@charleskawczynski charleskawczynski deleted the ck/refactor_dss_test branch August 29, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants