Download staged GPU sync regions incrementally

This commit is contained in:
2026-04-09 18:23:05 +08:00
parent 3b16795e78
commit 5bc67ded06
3 changed files with 147 additions and 5 deletions

View File

@@ -77,6 +77,12 @@ int bssn_gpu_stage_upload_region(const double *host_ptr,
const double *full_uub,
const int *region_shape,
const double *region_llb);
int bssn_gpu_stage_download_region(double *host_ptr,
const int *full_shape,
const double *full_llb,
const double *full_uub,
const int *region_shape,
const double *region_llb);
/** Init GPU side data in GPUMeta. */
// void init_fluid_meta_gpu(GPUMeta *gpu_meta);