-
Notifications
You must be signed in to change notification settings - Fork 8
Replace pg_edgeidx_dsl mask by multiplying with 0.0
#1053
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
base: main
Are you sure you want to change the base?
Conversation
model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/dycore_states.py
Outdated
Show resolved
Hide resolved
|
cscs-ci run default |
|
cscs-ci run default |
pg_edgeidx_dsl mask by multiplying with 0.0
|
cscs-ci run default |
|
Should we create a separate fix in icon-exclaim for this or just accumulate the changes with the other changes from #1052? |
muellch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only concern I have is that this might degrade performance.
The GPU might load all the data for the whole computation
z_gradh_exner + z_hydro_corr * pg_exdist
instead of one bool per thread.
A performance measurement would help here.
|
Mandatory Tests Please make sure you run these tests via comment before you merge!
Optional Tests To run benchmarks you can use:
To run tests and benchmarks with the DaCe backend you can use:
To run test levels ignored by the default test suite (mostly simple datatest for static fields computations) you can use:
For more detailed information please look at CI in the EXCLAIM universe. |
|
cscs-ci run default |
|
Good catch! |
let's accumulate, otherwise I spend the cycle fixing merge conflicts ;-) |
When naively translating a Fortran list to a full field, we constructed a mask instead of using the fact that we are actually initializing a weight with 0.0 in the masked-out cases.
Additionally: Remove program and a trivial test.