← all records

Optimize the standalone-driver startup time on GPU

task-802688 · in Runtime improvements

Problem

The standalone-driver of icon4py (for the JW experiment at least) seems to be doing a lot of pack and forth with GPU memory that consumes a lot of time before the actual dycore execution. See the example here: https://c2sm.github.io/icon4py-knowledge/personal/iomaganaris/standalone-driver-startup-opt/standalone-driver-JW-nsys.png The selected area with green shows the time spent in anything before DaCe calls that suggest dycore execution.

Solution

Figure out where these copies come from using NVTX markers in Python and eliminate/reduce them.

Progress

  • Not started. The shaping note is: https://c2sm.github.io/icon4py-knowledge/personal/iomaganaris/standalone-driver-startup-opt/standalone-driver-startup-opt