The per-GPU estimate at num_gpus GPUs. The formula floor stands unless the full-grid probe gave a result and the floor is not over the limit. workspace_gib, overhead_gib and io_gib (optional) split the result. used_gib and npeak (optional) are the num_gpus=1 measurement of the real build and its peak_fields: the estimate is then that measurement scaled to num_gpus, and workspace_gib holds the fields and halo alone.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(memcheck_ctx_t), | intent(inout) | :: | ctx | |||
| integer, | intent(in) | :: | num_gpus | |||
| real(kind=dp), | intent(out) | :: | per_gpu_gib | |||
| integer, | intent(out) | :: | basis | |||
| character(len=12), | intent(out) | :: | verdict | |||
| real(kind=dp), | intent(out), | optional | :: | workspace_gib | ||
| real(kind=dp), | intent(out), | optional | :: | overhead_gib | ||
| real(kind=dp), | intent(out), | optional | :: | io_gib | ||
| real(kind=dp), | intent(in), | optional | :: | used_gib | ||
| integer, | intent(in), | optional | :: | npeak |