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

Fix test references (assuming wrap around) #270

Merged
merged 14 commits into from
Sep 19, 2023
Merged

Fix test references (assuming wrap around) #270

merged 14 commits into from
Sep 19, 2023

Conversation

havogt
Copy link
Contributor

@havogt havogt commented Sep 13, 2023

This fixes some (not all) references where the current implementation assumes a certain behavior of the backend.

Specifically, we used np.roll in the references and the backend (by chance) had the same wrap-around behavior. For an upcoming PR in GT4Py, we need to remove that expectation.

@havogt
Copy link
Contributor Author

havogt commented Sep 14, 2023

launch jenkins spack

@havogt
Copy link
Contributor Author

havogt commented Sep 14, 2023

launch jenkins icon

@abishekg7
Copy link
Contributor

launch jenkins spack spackProject=halungge/icon4py-merge-greenline-in-main

@havogt havogt mentioned this pull request Sep 18, 2023
@abishekg7
Copy link
Contributor

launch jenkins spack spackProject=C2SM/icon4py_rebase

Copy link
Contributor

@egparedes egparedes left a comment

Choose a reason for hiding this comment

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

ILGTM

@github-actions
Copy link

Mandatory Tests

Please make sure you run these tests via comment before you merge!

  • launch jenkins spack

Optional Tests

In case your change might affect downstream icon-exclaim, please consider running

  • launch jenkins icon

For more detailed information please look at CI in the EXCLAIM universe.

@havogt havogt merged commit 32e8f6a into main Sep 19, 2023
@havogt havogt deleted the fix_oob_references branch September 19, 2023 09:43
ninaburg pushed a commit that referenced this pull request Sep 27, 2023
This fixes test references where the current implementation assumes a certain behavior of the backend.

Specifically, we used np.roll in the references and the backend (by chance) had the same wrap-around behavior. For an upcoming PR in GT4Py, we need to remove that expectation.

---------

Co-authored-by: Jonas Jucker <jonas.jucker@c2sm.ethz.ch>
Co-authored-by: juckerj <39263956+jonasjucker@users.noreply.github.com>
Co-authored-by: Abishek Gopal <abishek.gopal@c2sm.ethz.ch>
OngChia pushed a commit that referenced this pull request Jan 14, 2025
This fixes test references where the current implementation assumes a certain behavior of the backend.

Specifically, we used np.roll in the references and the backend (by chance) had the same wrap-around behavior. For an upcoming PR in GT4Py, we need to remove that expectation.

---------

Co-authored-by: Jonas Jucker <jonas.jucker@c2sm.ethz.ch>
Co-authored-by: juckerj <39263956+jonasjucker@users.noreply.github.com>
Co-authored-by: Abishek Gopal <abishek.gopal@c2sm.ethz.ch>
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.

5 participants