hydro tile size #3037
hydro tile size
#3037
Replies: 1 comment 1 reply
-
Take a look at the docs here: In short, the hydro creates a lot of temporary FABs, which can consume a lot of memory. To reduce this effect, we can use tiling to make the region of a box that hydro is working on smaller, so we use a different tile size there than in the rest of the code. For GPUs, this can be especially important, and we can try to pick an optimal hydro tile size to ensure that we don't exceed the GPU memory. This is controlled via the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a question regarding how hydro_tile_size is utilized in Castro_ctu_hydro.cpp and the benefits it provides. I noticed that it is set to 16 unless the memory footprint exceeds a certain threshold.
Could you clarify how this impacts performance or memory efficiency? Specifically, I see it being used in the following loop:
I’d appreciate any insights into the rationale behind this implementation. Thanks
Beta Was this translation helpful? Give feedback.
All reactions