Replies: 1 comment 15 replies
-
Each prognostic variable has the cost of 3 fields --- 1 for the state, and 2 for the tendencies (it looks like you're only allowing for one tendency term per field). You may also want to account for halo regions (so each field has size Let's see how far off the estimate is after accounting for all that... |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've conducted a few 3D experiments to examine the relationship between actual GPU memory usage and estimated GPU memory usage. The estimated GPU memory usage is calculated using the formula:
Nx x Ny x Nz x 8 x N_state
, whereNx, Ny, Nz
are the grid dimensions, the factor of 8 represents 64-bit floating-point numbers, andN_state
is the number of state variables. Since buoyancy is the only tracer, the state variables areu, v, w, b, p, du/dt, dv/dt, dw/dt, db/dt
.The figure below illustrates that the GPU usage can be scaled linearly with my estimation, which is great. However, the actual GPU memory usage is approximately 3.7 times larger than my initial estimate (y-axis). This suggests that there may be additional state variables that were not accounted for in my estimation. I'm interested in identifying any overlooked variables. Alternatively, if my estimation is correct, I would like to understand the reasons for this discrepancy. Any thoughts would be appreciated!
More information that might help:
Chih-Lun
Beta Was this translation helpful? Give feedback.
All reactions